[R] data.frame bug?
Chong Gu
chong at stat.purdue.edu
Thu Oct 17 23:30:54 CEST 2002
I'd like to create a data frame with components
> jk$x1
[1] 2
> jk$x2
[,1] [,2]
[1,] 0 0
I used to be able to do it with
> jk <- data.frame(x1=2,x2=I(matrix(0,1,2)))
But now I get a error message.
Can I still do what I want? Thanks for any help.
Chong Gu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list