A function to return the sampled log-target from a call to
the function lgcpPredictSpatialPlusPars,
lgcpPredictAggregateSpatialPlusPars,
lgcpPredictSpatioTemporalPlusPars or
lgcpPredictMultitypeSpatialPlusPars. This is used as a
convergence diagnostic.
Usage
ltar(lg)
Arguments
lg
an object produced by a call to
lgcpPredictSpatialPlusPars,
lgcpPredictAggregateSpatialPlusPars,
lgcpPredictSpatioTemporalPlusPars
orlgcpPredictMultitypeSpatialPlusPars
Value
the log-target from each saved iteration of the MCMC chain.