ushr (version 0.1.0)

add_noise: Add noise to viral load observations

Description

This function adds noise to vl measurements for each subject.

Usage

add_noise(vl, sd_noise)

Arguments

vl

numeric vector of viral load measurements.

sd_noise

numeric value indicating the standard deviation level to be used when adding noise to the simulated data (on the log10 scale).