get_nonparametricTTS: Non-parametric TTS function

Description Usage Arguments

View source: R/get_TTS.R

Description

This function computes the non-parametric form of the time to suppression

Usage

1
get_nonparametricTTS(vl, suppression_threshold, time, npoints)

Arguments

vl

numeric vector of viral load measurements.

suppression_threshold

numeric value for the 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.

time

numeric vector indicating the time when vl measurements were taken.

npoints

numeric value indicating the number of interpolation points to be considered.


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