
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

is.ordered(z)

[1] T

is.matrix(z)

[1] F

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

 


__________________________________________________



	[[alternative HTML version deleted]]


