prepJAGS: Compile JAGS data

View source: R/prepJAGS.R

prepJAGSR Documentation

Compile JAGS data

Description

Compile data into format for the JAGS total escapement model

Usage

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 Oct. 21, 2024, 5:42 a.m.