Skip to content
Prev 44798 / 398506 Next

matrix() Help

Jonathan Wang wrote:

            
For sure you used print(), but not list() ...
You don't want to use a matrix here, but a list:

list2 <- apply(matrix1, 1, rnorm)

Please read "An Introduction to R" and learn a bit more on data 
structures in R ...

Uwe Ligges