get_biphasic: Compute the biphasic model curve

Description Usage Arguments Value Examples

View source: R/model_fns.R

Description

This function calculates the biphasic model, V(t), for a vector of input times, t

Usage

1
get_biphasic(params, timevec)

Arguments

params

named numeric vector of all parameters needed to compute the biphasic model, V(t)

timevec

numeric vector of the times, t, at which V(t) should be calculated

Value

numeric vector of viral load predictions, V(t), for each time point in 'timevec'

Examples

1
2
get_biphasic(params = c(A = 10000, delta = 0.68, B = 1000, gamma = 0.03),
             timevec = seq(1, 100, length.out = 100))

ushr documentation built on April 22, 2020, 1:05 a.m.