showPrior: Display the priors used in 'bayesGAM'

showPriorR Documentation

Display the priors used in bayesGAM

Description

Prints a list of priors for β, λ, ε, and a, where applicable.

Usage

showPrior(object, ...)

## S4 method for signature 'bayesGAMfit'
showPrior(object, params = "all")

Arguments

object

Object of type bayesGAMfit generated from bayesGAM

...

Additional arguments for showPrior

params

character vector of the names of parameters to return

  • β beta

  • ε eps

  • λ lambda

  • a] a

Value

none

Examples

require(stats); require(graphics)
f <- bayesGAM(weight ~ np(height), data = women, 
              family = gaussian, iter = 500, chains = 1)
showPrior(f)

bayesGAM documentation built on March 18, 2022, 6:29 p.m.