Learn R Programming

FBMS (version 1.3)

coef.mjmcmc: Coefficients for MJMCMC Model

Description

Extracts coefficients from the best MJMCMC model.

Usage

# S3 method for mjmcmc
coef(object, ...)

Value

Vector of coefficients from the best model found.

Arguments

object

Object of class "mjmcmc".

...

Additional arguments (ignored).

Examples

Run this code
data(exoplanet)
model <- fbms(semimajoraxis ~ ., data = exoplanet, method = "mjmcmc")
coef(model)

Run the code above in your browser using DataLab