summary.MCMCglmmPredictedLP: Summary method for MCMCglmm predicted values

Description Usage Arguments Value See Also Examples

View source: R/misc.R

Description

If the predicted values only used the posterior means, highest posterior density (HPD) intervals cannot be generated, so only the means are returned. Otherwise, it calculates the mean predicted value, as well as the HPD interval.

Usage

1
2
3
  ## S3 method for class 'MCMCglmmPredictedLP'
 summary(object,
    level = 0.95, ...)

Arguments

object

A MCMCglmmPredictedLP object to summarize

level

A numeric value, the value to use when calculating HPD intervals. Defaults to .95.

...

Not currently used.

Value

If HPD intervals are calculated, returns a matrix with the means, lower limit, and upper limit. If no HPD intervals are calculated, returns a column vector of means.

See Also

predict2.MCMCglmm, recycler

Examples

1
2
3
4
## Not run: 
  ## Make me!

## End(Not run)

JWiley/postMCMCglmm documentation built on May 7, 2019, 10:15 a.m.