search for: helpo

Displaying 1 result from an estimated 1 matches for "helpo".

Did you mean: help
2006 Nov 02
2
simulation with "rpois"
Hi there, I need some helpo with one simulation. I have a matrix of 4x21 I want ro generate 100 random Chi2 distribution but inly from the first row of my matrix. This is what I try: Option (a): >lambda=1:100 >f=function(x)chisq(4,0,x) >lapply(lambda,f) It doesn't work! option(b): >m=mean(matrix[1,]) &g...