This function computes the non-parametric form of the time to suppression
get_nonparametricTTS(vl, suppression_threshold, time, npoints)
numeric vector of viral load measurements.
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.
numeric vector indicating the time when vl measurements were taken.
numeric value indicating the number of interpolation points to be considered.