Learn R Programming

realTimeSurv (version 1.0)

summary.lgcpReal: Summarise lgcp output

Description

Summarise output from a call to lgcp

Usage

# S3 method for lgcpReal
summary(object, linear = TRUE, plot = TRUE, verbose = TRUE, ...)

Arguments

object

An lgcpReal object from a call to lgcp

linear

A logical value indicating whether results should be reported on linear or exponential scales

plot

A logical value indicating whether to produce plots of the prior and posterior distributions of model parameters

verbose

A logical value indicating whether to print running time and chains

...

...

Value

A table with posterior mean, SD, and quantiles of posterior and prior distributions

Examples

Run this code
# NOT RUN {
data(dat,square,square_pop)
lg1 <- lgcp(data=dat,
            pop.var = c("popdens"),
            boundary=square,
            covariates=square_pop,
            cellwidth=0.1,
            laglength = 7,
            mala.pars=c(200,100,1),
            nchains=2)
summary(lg1,plot=FALSE)
# }

Run the code above in your browser using DataLab