Learn R Programming

languageR (version 1.0)

getMCMCintervals.fnc: calculate HPD prediction intervals

Description

calculate HPD 95% prediction intervals

Usage

getMCMCintervals.fnc(fixf, mcmcMatrix, m)

Arguments

fixf
vector of fixed effects coefficients (fixef(model.lmer))
mcmcMatrix
MCMC matrix obtained with mcmcsamp or pvals.fnc
m
model matrix

Value

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

Details

not intended for independent use

References

languageR

See Also

See Also as plotLMER.fnc

Examples

Run this code
not intended for independent use

Run the code above in your browser using DataLab