prepJAGS: Compile JAGS data

Description Usage Arguments Author(s)

View source: R/prepJAGS.R

Description

Compile data into format for the JAGS total escapement model

Usage

1
2
3
4
5
6
prepJAGS(
  lgr_weekly = NULL,
  sthd_B_run = F,
  hw_type = c("PBT", "Morph"),
  wild_tags = F
)

Arguments

lgr_weekly

dataframe containing weekly summaries of window counts and trap data. Part of what is returned by summSTADEM.

sthd_B_run

should numbers of B run steelhead be incorporated? These are defined as wild steelhead greater than 780mm in length. Default is FALSE.

hw_type

what criteria is used to determine hatchery vs. wild? Morph uses the morphilogical call made at the trap. PBT uses the genetic information gleaned from parental based tagging.

wild_tags

Should only wild PIT tags be used to estimate daytime passage and re-ascension rates? Default is FALSE.

Author(s)

Kevin See


KevinSee/STADEM documentation built on June 20, 2021, 11:13 p.m.