Displaying 1 result from an estimated 1 matches for "cs655".
Did you mean:
cs650
2011 Apr 13
2
Line plots in base graphics
Am I missing something obvious on how to draw multi-line plots in base graphics?
In ggplot2, I can do:
data(Oxboys, package = "nlme")
library(ggplot2)
qplot(age, height, data = Oxboys, geom = "line", group = Subject)
But in base graphics, the best I can come up with is this:
with(Oxboys, plot(age, height, type = "n"))
lapply(split(Oxboys[c("age",