On Thu, Aug 13, 2009 at 6:34 AM, willow1980<jianghua....@shef.ac.uk> wrote:
>
> Dear Professor Murdoch,
> That is exactly the difficulty for me. I don't know how to make a prediction
> with lmer using "expand.grid"; at the moment, I can use
> “mo...@x%*%fixef(model)” to get predicted values for existing observational
> data, but not data by "expand.grid". Actually, if I know this, I can then
> use "persp" or "wireframe" to plot 3-D surface graph. Do you know or have
> available code for this aim?

?lattice::levelplot has an example of this (using a loess() fit), that
applies to wireframe as well.

-Deepayan

______________________________________________
R-help@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.

Reply via email to