meanPostPredDistGAMBoth: Sample postpredDistGAM

Description Usage Arguments Value

View source: R/BasicFunctions.R

Description

Sample from the posterior predictive distribution for the complete domain

Usage

1
2
3
4
5
6
meanPostPredDistGAMBoth(
  arrayGrid,
  logicalGridPointsInsideCountingDomain,
  truePixelSize,
  scaleArea
)

Arguments

arrayGrid

Matrix where the first dimension gives the complete vectorized (1-dimensional) grid ( c() applied to the matrix of grid values) and teh second dimension corresponds to differnet samples

logicalGridPointsInsideCountingDomain

Logical vector, indicating which of the grid elements are within the counting domain

truePixelSize

Numeric vector of dim 2 specifying the size of each pixel (in x- and y-direction)

scaleArea

Numeric specifying how much the resulting integreated field should be adjust to correct for the inaccurate size of the counting domain when gridding

Value

Samples from predictive disttribution of fitted GAM model


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