[R] multiple lines and plot

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Sep 20 08:59:07 CEST 2006

Mauricio Cardeal wrote:

> Hi. Please, how can I put together 2 or more lines at the same 
> scatterplot ? Example: measures of protein intake (quantitative) of 4 
> children over 30 days, by day. How to plot all children at same graphic: 
> Protein X Time ? Is there any command like "overlay" ?

Make the plot for one child and add other with connands uch as lines() 
or segments(), don't know what is best in your case.

Uwe Ligges

> Thank you,
> Mauricio
> ______________________________________________
> R-help at stat.math.ethz.ch 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