calc_r_camostat_stages: calculates r for the TEIV model with Erlang-distributed...

View source: R/camostat_model_sum_stats.R

calc_r_camostat_stagesR Documentation

calculates r for the TEIV model with Erlang-distributed latent and infectious periods, and different cell types

Description

calculates r for the TEIV model with Erlang-distributed latent and infectious periods, and different cell types

Usage

calc_r_camostat_stages(params, warn_if_neg = FALSE)

Arguments

params

a list or named numeric vector with the parameter values for beta: infectivity in inverse units of V (in dT/dt) T_0: initial number of target cells in units of T p: production rate of infectious virus from cells c_inf: decay rate of infectious virus k1: rate from latent to infectious delta: decay rate of infectious cells n_L: shape parameter for distribution of latent period n_I: shape parameter for distribution of infectious period beta_inf: infectivity in inverse units of T (in dV/dt) if loss of virus due to enry into target cells is ignored, beta_inf = 0

Value

r: numeric vector of length 1


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.