update_cohort: Update cohort

Description Usage Arguments Examples

View source: R/update_cohort.R

Description

Update list of cohort parameters

Usage

1
update_cohort(cohort_list, reach, model_day, abundance, travel_time, survival)

Arguments

cohort_list

List of cohort parameters

reach

Reach that cohort is entering

model_day

Model day that cohort is entering reach

abundance

Number of fish in cohort

travel_time

Travel time for cohort through reach

survival

Survival rate of cohort through reach

Examples

1
2
cohort <- initialize_cohort("Winter", "Sac1", 1, 1e6, 10, 0.8)
update_cohort(cohort, "Sac2", 10, 1e5, 15, 0.9)

fishsciences/DeltaPassageModel documentation built on March 4, 2020, 5:03 p.m.