ushr (version 0.1.0)

single_root: Single phase root function

Description

This function defines the root equation for the single phase model, i.e. V(t) - suppression_threshold = 0.

Usage

single_root(timevec, params, suppression_threshold)

Arguments

timevec

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

params

named vector of all parameters needed to compute the single phase model, V(t)

suppression_threshold

suppression threshold: measurements below this value will be assumed to represent viral suppression. Typically this would be the detection threshold of the assay. Default value is 20.