Skip to content

Can I get rid of this for loop using apply?

2 messages · Mike Dugas, Hadley Wickham

#
Well that's a decent speed up :)
No real reason, just to make it a bit easier when you generalise to
other data sets / models
It's in ggplot2 - http://had.co.nz/ggplot2/geom_line.html  -
?geom_line should find it too though (provided you have version 0.6 of
ggplot2)

Hadley