summary.bcgam: Summarizing 'bcgam' fits

Description Usage Arguments Details Value Author(s) Examples

View source: R/summary_bcgam.R

Description

summary method for class "bcgam".

Usage

1
2
## S3 method for class 'bcgam'
summary(object, ...)

Arguments

object

an object of class "bcgam".

...

further arguments passed to or from other methods.

Details

All summary statistics are based on the posterior distribution in the bcgam object.

Value

The function summary.bcgam computes and return a list of summary statistics (estimated mean, standard error, 95% bounds, estimated median) of the fitted bcgam given in object.

Author(s)

Cristian Oliva-Aviles and Mary C. Meyer

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
n<-50
x<-(1:n)^{1/3}
z<-as.factor(rbinom(n, 1, 0.6))
y<-x+7*as.numeric(z)+rnorm(n,sd=2) 
bcgam.fit <- bcgam(y~sm.incr(x)+z, nloop=100)
summary(bcgam.fit)

## End(Not run)

bcgam documentation built on May 2, 2019, 8:42 a.m.

Related to summary.bcgam in bcgam...