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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to