add_noise: Add noise to viral load observations

Description Usage Arguments

View source: R/simulate_data.R

Description

This function adds noise to vl measurements for each subject.

Usage

1
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).


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