pvals.fnc {languageR} | R Documentation |
Compute p-values and MCMC confidence intervals for mixed models
Description
This function used to calculate p-values and HPD intervals for the
parameters of models fitted with lmer
.
As MCMC is no longer supported by lme4, this function is now obsolete and does no longer produce any output, other than a warning.
See the lme4 function pvalues() for alternatives.
Usage
pvals.fnc(object, ...)
Arguments
object |
a |
... |
Optional arguments that can be passed down. |
Value
A warning.
Author(s)
R. H. Baayen
See Also
pvalues
Examples
## Not run:
data(primingHeid)
library(lme4)
# remove extreme outliers
primingHeid = primingHeid[primingHeid$RT < 7.1,]
# fit mixed-effects model
# we will stay as close to the older optimizer of lme4 as possible -
# this requires the optimx package and using the control option of lmer()
require(optimx)
require(lmerTest)
primingHeid.lmer = lmer(RT ~ RTtoPrime * ResponseToPrime +
Condition + (1|Subject) + (1|Word), data = primingHeid,
control=lmerControl(optimizer="optimx",optCtrl=list(method="nlminb")))
summary(primingHeid.lmer)
anova(primingHeid.lmer)
## End(Not run)
[Package languageR version 1.5.0 Index]