View source: R/just.get.contrasts.cosinor.R
just.get.contrasts.cosinor | R Documentation |
Get the estimated marginal means for the specified factors or factor combinations in a linear model, and transform to non-linear parameters MESOR, amplitude, and acrophase, and get the pairwise contrasts for MESOR, amplitude and acrophase by the specified factors.
just.get.contrasts.cosinor(fit, contrast.frm, output = "pairwise.diff", ...)
fit |
the object from lmer() |
contrast.frm |
a string formula specifying the names of the predictors over which emmeans are desired. |
output |
output = 'pairwise.diff'. |
... |
other arguments passed on to methods |
f1.a<-lmer(hrv~age+gender+
gender*rrr+
gender*sss+(1|participant_id),
data=db.model, na.action = na.omit)
just.get.contrasts.cosinor(fit=f1.a, contrast.frm='~gender')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.