ComparePhotoCountsAndPred: Posterior summary statistics for GAM

Description Usage Arguments Value

View source: R/BasicFunctions.R

Description

Computes basic summary statistics based on distribution

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ComparePhotoCountsAndPred(
  posteriorevalFullPhoto,
  posteriorDistPhoto,
  posteriorevalFullTransect,
  posteriorDistTransect,
  areaPerSubSampPhotoMatrix,
  photoCounts,
  photoOrder,
  leaveOutTransect,
  inputVar,
  savingFolder,
  plot = TRUE
)

Arguments

posteriorevalFullPhoto

Numeric vector of evaluation points used for all posteriorDistributions

posteriorDistPhoto

Matrix where each column is the posterior distribution probability for one photo

posteriorevalFullTransect

Numeric vector of evaluation points used for posteriorDistTransect

posteriorDistTransect

Numeric vector of posterior distribution probabilitites for the whole transect in question

areaPerSubSampPhotoMatrix

Numeric matrix with

photoCounts

Numeric vector with the observed photo counts (not used in the modelling)

photoOrder

Numeric vector specifying the plotting order of the photos (smallest to largest original x-coordinate)

leaveOutTransect

The transect in question

inputVar

List of all input variables used in the original run

savingFolder

String with the path for where to save these comparison results

Value

Nothing, just save the output to file


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