Description Usage Arguments Value Note Examples
This will calculate Cohen's D for each effect in an lme4 object.
1 | lme.dscore(mod, data, type)
|
mod |
An lme4 or nlme object |
data |
The dataset the lme4 or nlme object was drawn from |
type |
Either "lme4" or "nlme" |
A table of d-scores.
lme4 and nlme models will produce slightly different estimates. This is because when using type="lme4", the numerator DF will be calculated using the Satterthwaite approximations to degrees of freedom (via the lmerTest package), whereas nlme includes Kenward-Roger numerator degress of freedom. If you have sufficent level-1 samples, the difference between models will be miniscule.
1 2 | ## Not run: model1<-lmer(DV~IV1+IV2+IV3+(1|subject),data=DATA_1)
## Not run: lme.dscore(model1,data=DATA_1,type="lme4")
|
sh: 1: cannot create /dev/null: Permission denied
sh: 1: wc: Permission denied
Could not detect number of cores, defaulting to 1.
Warning message:
In checkMatrixPackageVersion() : Package version inconsistency detected.
TMB was built with Matrix version 1.2.10
Current Matrix version is 1.2.11
Please re-install 'TMB' from source or restore original 'Matrix' package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.