addMCMCci.fnc {languageR}R Documentation

Add MCMC confidence intervals

Description

Adds MCMC confidence intervals to the plot data frames for plotLMER.fnc().

Usage

addMCMCci.fnc(mcmcM, model, m, fun, pred, predname = NA, factor = FALSE)

Arguments

mcmcM An MCMC matrix as obtained with mcmcsamp() or pvals.fnc()$mcmc
model A (generalized) linear mixed effects model obtained with lmer()
m A design matrix constructed by plotLMER.fnc()
fun A function for transforming the dependent variable
pred The predictor to be plotted
predname The name of the predictor
factor Boolean for whether predictor is factor

Details

Not intended for independent use.

Value

A data frame with components

x values for horizontal axis
lower lower bound 95% prediction interval
upper upper bound of 95% prediction interval

Note

Under development

Author(s)

R. H. Baayen

References

~put references to the literature/web site here ~

See Also

See Also as plotLMER.fnc

Examples

## Not run: 
  not intended for independent use.
## End(Not run)

[Package languageR version 0.953 Index]