[R] plot more plots from one matrix

alcesgabbo alcesgabbo at hotmail.com
Fri Dec 3 16:56:37 CET 2010


I solved the 1° problem with this command:

matrix2plot2[,"sensor_data"]<-as.numeric(as.character((matrix2plot2[,"sensor_data"])))

In fact before the previous command I if write: 

str(matrix2plot2[,"sensor_data"])

I get:
 Factor w/ 10 levels "131.22","148.532",..: 4 6 4 6 9 8 9 8 3 1 ...

And after the command 
matrix2plot2[,"sensor_data"]<-as.numeric(as.character((matrix2plot2[,"sensor_data"])))

if I write:
str(matrix2plot2[,"sensor_data"])

I get:
num [1:16] 30.4 31.2 30.4 31.2 50.1 ...
-----------------------------------------
but I can't solve the 2° problem....
-- 
View this message in context: http://r.789695.n4.nabble.com/plot-more-plots-from-one-matrix-tp3069545p3071272.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list