[R] a class matrix with class ordered data

From: Werner Bier <aliscla_at_yahoo.com>
Date: Wed 27 Jul 2005 - 22:12:45 EST

Deart R-help,

I could not transfer ordered data into a matrix, does anybody knows if there is something wrong in the code below please?

Thanks in advance, Tom

Y <- ordered( unlist( Q[,1:2] ) )

z <- matrix(0, nrow(Q), 2)

z <- Y


[1] T


[1] F

i.e. Is it possibile somehow to have is.matrix(z) equal TRUE?  

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 27 22:21:00 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:03 EST