Learn R Programming

fido (version 1.0.4)

summary.pibblefit: Summarise pibblefit object and print posterior quantiles

Description

Default calculates median, mean, 50% and 95% credible interval

Usage

# S3 method for pibblefit
summary(
  object,
  pars = NULL,
  use_names = TRUE,
  as_factor = FALSE,
  gather_prob = FALSE,
  ...
)

Value

A list

Arguments

object

an object of class pibblefit

pars

character vector (default: c("Eta", "Lambda", "Sigma"))

use_names

should summary replace dimension indices with pibblefit names if names Y and X were named in call to pibble

as_factor

if use_names and as_factor then returns names as factors (useful for maintaining orderings when plotting)

gather_prob

if TRUE then prints quantiles in long format rather than wide (useful for some plotting functions)

...

other expressions to pass to summarise (using name 'val' unquoted is probably what you want)