Hi,
I'm working with tips data from reshape package.
library(reshape2)
I'm saving my plots as pdf and I was wondering whether it was possible
to print a different pdf for each 'wrapped' plot. Using the code below
as an example, I'd like to get 8 independent pdf files for each sex ~
day combination.
sp <- ggplot(tips,aes(x=total_bill, y = tip/total_bill)) +
geom_point(shape=1) +
facet_grid(sex ~ day)
plot(sp)
Thanks a lot for your help!
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.