get_triphasic {ushr}R Documentation

Compute the triphasic model curve

Description

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

Usage

get_triphasic(params, timevec)

Arguments

params

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


get_triphasic(params = c(A = 10000, delta = 1, B = 1000, gamma = 0.1, C = 100, omega = 0.03),
             timevec = seq(1, 100, length.out = 100))


[Package ushr version 0.2.3 Index]