Displaying 1 result from an estimated 1 matches for "midatafram".
Did you mean:
midataframe
2002 Feb 26
3
Matrix of Elements of Different Types (was Interfacing pre-existing C++ library from R)
--- Prof Brian D Ripley <ripley@stats.ox.ac.uk> wrote:
>A matrix list? R lists are just vectors with elements of different types,
>and R matrices are just vectors with a dimension attribute.
When I saw the above I tried to create a matrix from a list but
could not get it to work:
my.lm <- lm( rnorm(10) ~ I(1:10) )
my.list <- list(1, 2, 3, 4, 5, 6, my.lm, my.lm, my.lm)