Skip to content
Prev 76208 / 398502 Next

Matrix oriented computing

Marc Schwartz <MSchwartz at mn.rr.com> writes:
outer() is perhaps a more natural first try... It does give the
transpose of the sapply approach, though. 

round(t(outer(x,df,qchisq)),2)

should be close. You should likely add dimnames.