[R] spaghetti plots in R

R. Michael Weylandt michael.weylandt at gmail.com
Wed Apr 4 20:14:19 CEST 2012


Can't you just combine your matrices into a single matrix: rbind() or
cbind() should do the job.

Michael

On Wed, Apr 4, 2012 at 12:24 PM, uday <uday_143_4u at hotmail.com> wrote:
> Hi Liviu ,
> now I can see that function but the problem is that its only applicable for
> single data frame. as I wrote in my first post that I got 2 different matrix
> with same dimensions ( 3x 12 here in example) , so if I plot normal plot
> using plot function
> plot(ak[1,],pre[1,],type="l")
> lines(ak[2,],pre[2,],type="l",col="red")
>
> but every files contains more than 1000 observations.
> Is it possible to use this function for two different matrix data ?
>
> if yes then please let me know how to do it .
>
>
> Thanks
> Uday
>
> --
> View this message in context: http://r.789695.n4.nabble.com/spaghetti-plots-in-R-tp4532021p4532452.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