> - Suppose I have a factor with quite a lot of levels. How do I split
> this factor not only along x or y axis, but rather split about both
> axis. I'm looking for the lattice layout-equivalent.

You can't (yet).  You can work around it by splitting the factor into
two parts yourself.

> - If I split my data into levels and plot my measurement for every
> factor. How can I then add a line to every seperate panel with a
> different slope and a different intercept?

qplot(wt, mpg, data=mtcars, type=c("point","smooth"), method=lm)

Hadley

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to