just.get.contrasts.cosinor: Get the pairwise contrasts for MESOR, Amplitude, Acrophase

View source: R/just.get.contrasts.cosinor.R

just.get.contrasts.cosinorR Documentation

Get the pairwise contrasts for MESOR, Amplitude, Acrophase

Description

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.

Usage

just.get.contrasts.cosinor(fit, contrast.frm, output = "pairwise.diff", ...)

Arguments

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

Examples

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')



maytesuarezfarinas/cosinoRmixedeffects documentation built on Oct. 30, 2024, 9:31 p.m.