showPrior function

Display the priors used in bayesGAM

Display the priors used in bayesGAM

Prints a list of priors for β\beta, λ\lambda, ϵ\epsilon, and aa, where applicable.

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 beta
    • ϵ\epsilon eps
    • λ\lambda lambda
    • a]aa] a

Returns

none

Examples

require(stats); require(graphics) f <- bayesGAM(weight ~ np(height), data = women, family = gaussian, iter = 500, chains = 1) showPrior(f)
  • Maintainer: Samuel Thomas
  • License: GPL-3
  • Last published: 2022-03-17

Useful links