[R] Help needed in reproducing a plot
Dennis Murphy
djmuser at gmail.com
Tue Nov 29 17:17:54 CET 2011
Hi:
This looks like the one:
library('lattice')
data(Oats, package = 'MEMSS')
print(xyplot(yield ~ nitro | Block, Oats, groups = Variety, type = c("g", "b"),
auto.key = list(lines = TRUE, space = 'top', columns = 3),
xlab = "Nitrogen concentration (cwt/acre)",
ylab = "Yield (bushels/acre)",
aspect = 'xy'))
Look at the source code of the implementation document in the same
place that you found the pdf. I found it from the html help page for
the lme4 package, but there are other places you could find it.) The
code for the plots in the document are contained therein.
Dennis
On Tue, Nov 29, 2011 at 7:43 AM, syrvn <mentor_ at gmx.net> wrote:
> Hello,
>
>
> can anybody tell me how to produce a plot like the one in
>
> http://cran.r-project.org/web/packages/lme4/vignettes/Implementation.pdf
>
> on page 13, Figure 6?
>
> The data is stored in:
>
> library(nlme)
> data(Oats)
>
>
> Cheers
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Help-needed-in-reproducing-a-plot-tp4119603p4119603.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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.
>
More information about the R-help
mailing list