View source: R/create.boot.FUN.mean.R
create.boot.FUN.mean | R Documentation |
Bootstrap function takes in a fitted merMod object as input and returns the statistics (e.g. standard error) of mean MESOR, amplitude and acrophase in each group.
create.boot.FUN.mean(contrast.frm)
contrast.frm |
a string formula specifying the names of the predictors over which emmeans are desired. |
f1.b<-lmer(hrv~age+gender+T0toT14+Tneg7toT7+
gender*rrr+gender*sss+
T0toT14*rrr+T0toT14*sss+
Tneg7toT7*rrr+Tneg7toT7*sss+
(1|participant_id),
data=db.model, na.action = na.omit)
boot.mean<-bootMer(f1.b,FUN = create.boot.FUN.mean(contrast.frm='~T0toT14+Tneg7toT7'), nsim =500, parallel = "multicore", ncpus=8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.