[R] Partitioning matrices and drop
Ross Darnell
r.e.darnell at ncl.ac.uk
Thu May 18 16:14:24 CEST 2000
I have some code
Xj<-X[Jlist[[M]],Xjlist[[M]],drop=F]
which I use to partition the matrix X. However
when the second argument is a single number, Xj is not a matrix but a
vector. I thought the drop=F argument should have kept Xj a matrix.
I am using version 0.90.1
Can someone tell me how I'm wrong?
Thanks
Ross Darnell
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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