Learn R Programming

FBMS (version 1.3)

predmean.fbms_predict: Access Mean Predictions

Description

Extracts the mean predictions from an FBMS prediction object.

Usage

# S3 method for fbms_predict
predmean(object, ...)

Value

Vector of mean predictions.

Arguments

object

Object of class "fbms_predict".

...

Additional arguments (ignored).

Examples

Run this code
# \donttest{
data(exoplanet)
model <- fbms(semimajoraxis ~ ., data = exoplanet, method = "mjmcmc")
pred <- predict(model, exoplanet[51:60, -1])
predmean(pred)
# }

Run the code above in your browser using DataLab