survival: Survival

Description Usage Arguments Examples

View source: R/survival.R

Description

Draw random value for survival through a reach on a given day.

Usage

1
2
3
4
5
6
7
survival(
  reach = c("GeoDCC", "Sac1", "Sac2", "Sac3", "Sac4", "SS", "Verona_to_Sac",
    "Interior Delta", "Yolo"),
  scenario,
  model_day,
  flow_list
)

Arguments

reach

GeoDCC, Sac1, Sac2, Sac3, Sac4, SS, Verona_to_Sac, Yolo, or Interior Delta

scenario

Scenario describing water project operations

model_day

Integer day in 82-yr model period

flow_list

List that contains flow values for all reaches, scenarios, and days in 82-yr model period

Examples

1
2
survival("Sac3", "EXG", 2, list("Sac3" = list("Standardized" = list("EXG" = c(-5, 0, 5)))))
survival("Sac2", "EXG", 2, list("Sac3" = list("Standardized" = list("EXG" = c(-5, 0, 5)))))

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