etc/polygons.R

data(BodyWeight,package="nlme")
library(ggplot2)
qpdl <- qplot(Time,weight,data=BodyWeight,colour=Rat,geom="line",facets=.~Diet)
library(directlabels)
direct.label(qpdl, "first.polygons")
direct.label(qpdl, "last.polygons")

Try the directlabels package in your browser

Any scripts or data that you put into this service are public.

directlabels documentation built on May 2, 2019, 6:13 p.m.