ComputePostPredDistforPredPhotos: Computing the posterior predictive distribution of total area...

Description Usage Arguments Value

View source: R/BasicFunctions.R

Description

Currently only to be used with a spatial model with a linear covariate and no additional iid term

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ComputePostPredDistforPredPhotos(
  samp,
  thisMeshPoint,
  covAtPredLoc,
  areaPredPhotos,
  poisson.maxEvals,
  parallelize.numCores,
  parallelize.noSplits,
  covariate.fitting,
  mesh
)

Arguments

samp

List with all posterior samples, one sample in each sublist (as obtained from inla.posterior.sample)

thisMeshPoint

Numeric vector giving the mesh point corresponding to each of the pred photos

covAtPredLoc

Numeric vector containing the covariate value at the location of the prediction photos

poisson.maxEvals

Numeric giving the maximum number of poisson evaluations

Value

List containing the resulting posterior predicitve distribution for all PredPoints


PointProcess/SealPupProduction-JRSSC-code documentation built on Jan. 27, 2020, 10:06 p.m.