summary.lgcpReal: Summarise lgcp output

Description Usage Arguments Value Examples

View source: R/plot_functions.R

Description

Summarise output from a call to lgcp

Usage

1
2
## S3 method for class '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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

realTimeSurv documentation built on May 18, 2021, 9:07 a.m.