lcresid_plot: Plot the residuals of hlme model by class

Description Usage Arguments Value

View source: R/lcresid_plot.R

Description

This function will plot the residuals of an hlme model by class

Usage

1
lcresid_plot(data, model, nameofoutcome, nameofage, ylimit = c(-5, 5))

Arguments

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

Value

ggplot object of plotted residuals by class


wfmueller29/trajpkg documentation built on Feb. 6, 2022, 3:45 a.m.