samplePosterior: samplePosterior function

Description Usage Arguments Value

Description

A function to draw a sample from the posterior of a spatial LGCP. Randomly selects an index i, and returns the ith value of eta, the ith value of beta and the ith value of Y as a named list.

Usage

1

Arguments

x

an object of class lgcpPredictSpatialOnlyPlusParameters or lgcpPredictAggregateSpatialPlusParameters

Value

a sample from the posterior named list object with names elements "eta", "beta" and "Y".


bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.