Learn R Programming

BSTZINB (version 2.0.1)

summary.DCMB: Summary function for objects of class DCMB

Description

Gives out a summary of the posterior samples for parameters of any of the models, outputs of which are contained in a DCMB object

Usage

# S3 method for DCMB
summary(x,...)

Value

returns a table of summary values

Arguments

x

object of class DCMB

...

additional parameters to pass on to the function

Examples

Run this code
data(simdat)
y <- simdat$y
X <- cbind(simdat$V1,simdat$x)
data(county.adjacency)
data(USAcities)
IAcities <- subset(USAcities,state_id=="IA")
countyname <- unique(IAcities$county_name)
A <- get_adj_mat(county.adjacency,countyname,c("IA"))
# \donttest{
res3 <- BSTZINB(y, X, A, LinearT=TRUE, nchain=3, niter=100, nburn=20, nthin=1)
summary(res3)
# }

Run the code above in your browser using DataLab