Learn R Programming

FBMS (version 1.1)

summary.mjmcmc: Function to print a quick summary of the results

Description

Function to print a quick summary of the results

Usage

# S3 method for mjmcmc
summary(
  object,
  tol = 1e-04,
  labels = FALSE,
  effects = NULL,
  verbose = TRUE,
  ...
)

Value

A data frame containing the following columns:

feats.strings

Character representation of the covariates ordered by marginal probabilities.

marg.probs

Marginal probabilities corresponding to the ordered feature strings.

Arguments

object

The results to use

tol

The tolerance to use as a threshold when reporting the results.

labels

Should the covariates be named, or just referred to as their place in the data.frame.

effects

Quantiles for posterior modes of the effects across models to be reported, if either effects are NULL or if labels are NULL, no effects are reported.

verbose

If the summary should be printed to the console or just returned, defaults to TRUE

...

Not used.

Examples

Run this code
result <- mjmcmc(matrix(rnorm(600), 100), gaussian.loglik)
summary(result)

Run the code above in your browser using DataLab