View source: R/ggplot.cosinor.lmer.R
ggplot.cosinor.lmer | R Documentation |
Given a lmer model fit, generate a plot of the data with the fitted values.
## S3 method for class 'cosinor.lmer'
ggplot(
object = NULL,
x_str = NULL,
period = NULL,
db.means = NULL,
DATA = NULL
)
object |
a lmer fit object (lmerMod object) |
x_str |
a character vector naming the covariate(s) to be plotted |
period |
the length of time for a cycle. |
db.means |
the data frame with mean values for MESOR, amplitude, and acrophase, for each comparison group |
DATA |
a data frame containing the variables named in lmer object |
ggplot.cosinor.lmer(object=f1.a,
x_str="T0toT14",
period=24,
db.means=db.means,
DATA=db.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.