gen_time_varying: Helper function for creating time-varying vector of values

Description Usage Arguments Value

View source: R/01_time_varying_functions.R

Description

gen_time_varying creates a time-varying vector of values based on entries in l_period_def.

Usage

1
gen_time_varying(l_period_def, max_time)

Arguments

l_period_def

Existing list of period definitions, created using add_period.

max_time

Number of days that should be estimated, will fill if not fully covered by final stop in l_period_def.

Value

Vector of time-varying parameter values at minimum of length max_time (could be longer).


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.