Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: multidimensional array in Statistics::Rby BrowserUk (Patriarch) |
on Feb 07, 2013 at 14:03 UTC ( [id://1017657]=note: print w/replies, xml ) | Need Help?? |
Looking at the docs, it seems like you'd have to set one vector of the multi-dimensional array at a time. Something (untested) like this:
But you probably need to tell R that 'mat' is a matrix first by preceding the above with something like:
Or perhaps a data.frame with named columns would be a better choice. See the R docs. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|