model_kinetic | R Documentation |
Generates a mixed-effect n-order model and embeds it in a kinetic class object.
model_kinetic( data, response, time = "time", ID = "ID", family = "gaussian", order = 2, ... )
data |
a data frame. |
response |
name of the dependent variable. |
time |
name of the time variable. |
ID |
name of the pairing/grouping or block variable. |
family |
modeling family. |
... |
extra arguments passed to |
model |
order. |
Technically, a wrapper around lmer
(if family is 'gaussian') and glmer
functions.
a kinetic class object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.