[R] Change the mode of a list

Felix Wave felix-wave at vr-web.de
Fri Apr 20 14:03:13 CEST 2007

>as.matrix(MEAN[unlist(lapply(MEAN, is.numeric))])

I will get two colums not three and only the last colum are my values (MEAN[,3]). The first is only a rising number.

I also tried:
>MEASURE <- sapply( MEAN, as.numeric )


>MEAN       <- unlist(MEAN)
>MEASURE <- matrix(MEAN, ncol=3, byrow=FALSE)
But then, the first colum is +1 greater and the second colum is +1)*10 greater.


With this

More information about the R-help mailing list