expand_wc_binom_night: estimate and bootstrap window count as a binomial and...

View source: R/night_fall_reascend_wc_binom.R

expand_wc_binom_nightR Documentation

estimate and bootstrap window count as a binomial and expanding for nighttime passage

Description

estimate and bootstrap window count as a binomial and expanding for nighttime passage

Usage

expand_wc_binom_night(
  nightPassage_rates,
  wc,
  wc_prop,
  stratAssign_comp,
  stratAssign_night,
  boots = 2000,
  alpha_ci = 0.1
)

Arguments

nightPassage_rates

the night passage rate part of the output of nightFall

wc

tibble with two columns sWeek and wc. sWeek is statistical week and wc is the count of fish (NOT expanded for wc_prop)

wc_prop

the proportion of the time fish are counted (e.g. 5/6)

stratAssign_comp

tibble with sWeek, stratum showing what stratum each sWeek corresponds to for composition estimation using the trap data

stratAssign_night

tibble with sWeek, stratum showing what stratum each sWeek corresponds to for nighttime passage

boots

The number of bootstap iterations to run

alpha_ci

The alpha value to use for calculating the CI of overall nighttime passage rate


delomast/escapeLGD documentation built on June 9, 2025, 10:52 p.m.