Learn R Programming

languageR (version 1.6)

getMCMCintervals.fnc: calculate HPD prediction intervals

Description

calculate HPD 95% prediction intervals

Usage

getMCMCintervals.fnc(fixf, mcmcMatrix, m)

Value

A matrix with columns '"lower"' and '"upper"' and rows corresponding to the values of the predictor to be plotted on the X-axis.

Arguments

fixf

vector of fixed effects coefficients (fixef(model.lmer))

mcmcMatrix

MCMC matrix obtained with mcmcsamp or pvals.fnc

m

model matrix

Author

R. H. Baayen

Details

not intended for independent use

References

languageR

See Also

See Also as plotLMER.fnc