Learn R Programming

hsstan (version 0.8.2)

summary.hsstan: Summary for the fitted model

Description

Summary for the fitted model

Usage

# S3 method for hsstan
summary(
  object,
  pars = NULL,
  prob = 0.95,
  digits = 2,
  sort = NULL,
  decreasing = TRUE,
  max.rows = NULL,
  ...
)

Value

A matrix with summaries from the posterior distribution of the parameters of interest.

Arguments

object

An object of class hsstan.

pars

Vector of parameter names to be extracted. If NULL (default) then this refers to the set of predictors used in the model.

prob

Width of the posterior intervals (0.95, by default).

digits

Number of decimal places to be reported (2 by default).

sort

Column name used to sort the results according to the absolute value of the column. If NULL (default) or the column name cannot be found, no sorting occurs.

decreasing

Whether the results should be sorted in decreasing order when a valid column name is specified in sort (TRUE by default).

max.rows

Maximum number of rows to be returned. If NULL (default) or 0, all results are returned.

...

Currently ignored.

Examples

Run this code
utils::example("hsstan", echo=FALSE)
# continued from ?hsstan
summary(hs.biom)

Run the code above in your browser using DataLab