prepare_sonar_counts_for_expansion_2: Formats mixture model output and visual count data for...

Description Usage Arguments Author(s)

View source: R/prepare_sonar_counts_for_expansion2.R

Description

The posterior totals are formatted as a set of arrays, in which each cell corresponds to a 20-min counting block. Array dimensions correspond to date, 8-hr shift, hour period, and 20-min block. Arrays are generated for point estimates (median) and variance, for each species and each sonar station. This information will be taken as input in expand_counts.

Usage

1
2
3
4
5
6
7
prepare_sonar_counts_for_expansion_2(
  visual_counts,
  sonar_counts,
  mixture_samples,
  trunc = 450,
  lthresh = 650
)

Arguments

visual_counts

Visual count data. See main_2019.R for more information.

sonar_counts

Sonar count data. See main_2019.R for more information.

mixture_samples

Output of run_mixture_model.

trunc

Lower bound for post-truncation based on input length. In past years, 450 seemed to work best.

Author(s)

Matt Tyres and Jordy Bernard.


jBernardADFG/ChenaSalchaTowerSonar documentation built on Oct. 11, 2020, 1 a.m.