Prof Brian Ripley a écrit : > On Thu, 29 Sep 2005 [EMAIL PROTECTED] wrote: >> I don't think you can use matrix() to store other matrix() inside. >> But array() is a solution to store matrix() inside. >> (At least I have use it). > > You _can_ do this with matrix() (although that was not quite what was > asked). Try > a <- b <- c <- d <- matrix(1:4, 2, 2) > e <- matrix(list(a,b,c,d), 2,2)
sorry for the wrong answer, and thanks for the correction. (I certainly do not use list() as much as it should be.) ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
