get_length_samples: Estimate mean, sd, and se of carcass lengths.

Description Usage Arguments Author(s)

View source: R/get_length_samples.R

Description

Runs Hierarchical Bayesian model to estimate mean, sd, and se of carcass lengths and returns posterior samples. This information is used to inform priors in the mixture model (see run_mixture_model).

Usage

1
get_length_samples(carcass_data, file_dir, ncores = 3, niter = 10000)

Arguments

carcass_data

The output of prepare_length_data.

ncores

The number of cores for parallel chains.

niter

The number of MCMC iterations. 10k will take roughly 8 minutes whereas 50k will take 35 minutes.

Author(s)

Matt Tyres and Jordy Bernard.


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