Your example is not reproducible [1]. We don't know what device you are writing
to, and we don't have your data or even a subset of it.
However, facet_wrap is not used for generating separate graphs. You will need
to make some kind of loop construct (for or lapply) that opens the device,
prints
library(ggplot2)
a<- read.table("data", header=T)
b = na.omit(a)
ggplot(data=b) + geom_line(aes(x=timepoint, y=value,group=sample, colour=
factor(sample))) + geom_point(aes(x=timepoint, y=value, group=s
ample)) + facet_wrap(~bio, scales = "free",ncol = 5) +theme_bw() +
opts(legend.direction = "h
2 matches
Mail list logo