Description Usage Arguments Value
This function will plot the residuals of an hlme model by class
1 | lcresid_plot(data, model, nameofoutcome, nameofage, ylimit = c(-5, 5))
|
data |
data frame that was used to create the model |
model |
hlme model output that we would like to plot |
nameofoutcome |
string name of outcome variable |
nameofage |
string name of age variable |
ylimit |
numeric 2 element vector specifying y minimum and y maximum |
ggplot object of plotted residuals by class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.