expectation.lgcpPredictSpatialOnlyPlusParameters: expectation.lgcpPredictSpatialOnlyPlusParameters function

Description Usage Arguments Value

Description

This function requires data to have been dumped to disk: see ?dump2dir and ?setoutput. This function computes the Monte Carlo Average of a function where data from a run of lgcpPredict has been dumped to disk.

Usage

1
"expectation(obj,fun,maxit=NULL,...)"

Arguments

obj

an object of class lgcpPredictSpatialOnlyPlusParameters

fun

a function with arguments 'Y', 'beta', 'eta', 'Z' and 'otherargs'. See vignette("Bayesian_lgcp") for an example

maxit

Not used in ordinary circumstances. Defines subset of samples over which to compute expectation. Expectation is computed using information from iterations 1:maxit, where 1 is the first non-burn in iteration dumped to disk.

...

additional arguments

Value

the expectated value of that function


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