summary.bama {bama}R Documentation

Summarize objects of type "bama"

Description

summary.bama summarizes the 'beta.m' estimates from bama and generates an overall estimate, credible interval, and posterior inclusion probability.

Usage

## S3 method for class 'bama'
summary(object, rank = F, ci = c(0.025, 0.975), ...)

Arguments

object

An object of class "bama".

rank

Whether or not to rank the output by posterior inclusion probability. Default is TRUE.

ci

The credible interval to calculate. ci should be a length 2 numeric vector specifying the upper and lower bounds of the CI. By default, ci = c(0.025, .975).

...

Additional optional arguments to summary

Value

A data.frame with 4 elements. The beta.m estimates, the estimates' credible interval (which by default is 95\ inclusion probability (pip) of each 'beta.m'.


[Package bama version 1.3.0 Index]