summary.cglmm {GLMMcosinor} | R Documentation |
Summarize a cosinor model Given a time variable and optional covariates, generate inference a cosinor fit. Gives estimates, confidence intervals, and tests for the raw parameters, and for the mean, amplitude, and acrophase parameters. If the model includes covariates, the function returns the estimates of the mean, amplitude, and acrophase for the group with covariates equal to 1 and equal to 0. This may not be the desired result for continuous covariates.
## S3 method for class 'cglmm'
summary(object, ci_level = 0.95, ...)
object |
An object of class |
ci_level |
The level for calculated confidence intervals. Defaults to 0.95. |
... |
Currently unused |
Returns a summary of the cglmm
model as
a cglmmSummary
object.
fit <- cglmm(vit_d ~ X + amp_acro(time,
group = "X",
n_components = 1,
period = 12
), data = vitamind)
summary(fit)