getStanResults {bayesGAM}R Documentation

Returns the stanfit object generated by rstan

Description

Contains the full content of the stanfit object

Usage

getStanResults(object)

## S4 method for signature 'bayesGAMfit'
getStanResults(object)

Arguments

object

Object of type bayesGAMfit returned from bayesGAM

Value

Contents of stanfit results

Examples

require(stats); require(graphics)
f <- bayesGAM(weight ~ np(height), data = women, family = gaussian, 
              iter = 500, chains = 1)
sres <- getStanResults(f)
plot(sres) # rstan method

[Package bayesGAM version 0.0.2 Index]