search for: subjectwise

Displaying 2 results from an estimated 2 matches for "subjectwise".

Did you mean: subjectwine
2011 Jun 24
2
mgcv:gamm: predict to reflect random s() effects?
Dear useRs, I am using the gamm function in the mgcv package to model a smooth relationship between a covariate and my dependent variable, while allowing for quantification of the subjectwise variability in the smooths. What I would like to do is to make subjectwise predictions for plotting purposes which account for the random smooth components of the fit. An example. (sessionInfo() is at bottom of message) My model is analogous to > out.gamm <- gamm( Y ~ Group + s(X...
2011 Apr 11
1
Override col.lines and col.symbol in panel.xyplot with type='b'
...and a continuous dependent variable. I have been successfully been using lattice::xyplot with this data. However, I have been stumped with a particular application of it. I would like to use xyplot on my data, broken into treatment groups with the groups argument, using type='b' to show subjectwise longitudinal data. So far so good, I have done this many times. But now I wish to show the same data but having the color of the lines and symbols overridden in some arbitrary way, yet not without changing anything else about the plot, in particular the structure/topology of the plot from using t...