Description Usage Arguments Value Author(s) References See Also Examples

A visualisation of the raw data used to fit the smoothing-splines mixed-effects model is obtained.
This is presented as a trellis plot where each panel shows the observations for one of the
subjects as a scatter plot (with optional lines connecting the observations if `showRawLines`

is `TRUE`

). If `showModelFits`

is `TRUE`

, then these observations are overlaid
with the fitted individual curve for that subject.

1 | ```
plotSmeRaw(x,xlab="Time",ylab="Y",mainTitle="",showModelFits=TRUE,showRawLines=FALSE,...)
``` |

`x` |
an object inheriting from class |

`xlab` |
the label for the x-axis, defaulting to |

`ylab` |
the label for the y-axis, defaulting to |

`mainTitle` |
the main title for the plot, defaulting to none |

`showModelFits` |
if |

`showRawLines` |
if |

`...` |
additional arguments passed through to |

A trellis plot as described above.

Maurice Berk [email protected]

Berk, M. (2012). *Smoothing-splines Mixed-effects Models in R*. Preprint

`plot.sme`

, `plotSmeModel`

, `plotSmeDiagnostic`

1 2 3 4 5 | ```
data(MTB)
fit <- sme(MTB[MTB$variable==6031,c("y","tme","ind")])
plotSmeRaw(fit,showModelFits=FALSE)
plotSmeRaw(fit,showModelFits=FALSE,showRawLines=TRUE)
plotSmeRaw(fit)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.