Description Usage Arguments Examples
This function produces line graphs based on lmer() models. It can incorporate multiple slope variables, especially useful for time series analyses.
1 2 3 |
df |
Datafram. |
model |
A lmer() model object. |
x |
Variable to appear on the x axis. |
xlevels |
A character vector of levels. "identity" utilizes existing levels. |
byvars |
A list of by variables. |
bylevels |
A list containing the corresponding levels of the by variables. "identity" utilizes existing levels, "sd" returns -1 and +1 SD relative to mean. |
timevary |
Any variable that varies in conjunction with time. |
timevarylevels |
List of levels of timevary variables. Must be in a list and of equal length to x. |
combinedx |
Numerical vector. If the time series (x and timevary) are split in ways that do not overlap, combinedx should be included. It must be a list of equal length to x and timevary. |
combinedxname |
The name of the combinedx variable. |
1 | n()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.