m_general_logit: Generalized logistic function (matrix version)

Description Usage Arguments Value

View source: R/01_time_varying_functions.R

Description

m_general_logit computes a generalized logistic function whose starting (lb) and ending values (ub) are determined by parameters. Rate of change from lb to ub and timing of change are also controlled by parameters.

Usage

1
2
3
4
5
6
7
m_general_logit(
  v_logit_lb,
  v_logit_ub,
  v_logit_change_rate,
  v_logit_change_mid,
  logit_t
)

Arguments

v_logit_lb

Age-specific lower asymptote.

v_logit_ub

Age-specific upper asymptote.

v_logit_change_rate

Age-specific rate of change from lower to upper asymptote.

v_logit_change_mid

Age-specific point in time (t) where function has gone halfway from lb to ub.

logit_t

time point(s) at which function should be evaluated.

Value

Matrix with value(s) of generalized logit function | inputs.


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