ushr (version 0.1.0)

get_singlephase: Compute the single phase model curve

Description

This function calculates the single phase model, V(t), for vector of input times, t

Usage

get_singlephase(params, timevec)

Arguments

params

named numeric vector of all parameters needed to compute the single phase 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

Run this code
# NOT RUN {
get_singlephase(params = c(B = 1000, gamma = 0.68), timevec = seq(1, 100, length.out = 100))

# }

Run the code above in your browser using DataLab