[R] plot more plots from one matrix

Petr PIKAL petr.pikal at precheza.cz
Mon Dec 6 11:05:41 CET 2010


Hi

r-help-bounces at r-project.org napsal dne 03.12.2010 16:56:37:

> 
> 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....

What is 2o problem?

Regards
Petr


> -- 
> 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 at 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.



More information about the R-help mailing list