View source: R/simulation_functions.R
simulate_viral_loads | R Documentation |
Takes infection times, the times over which to solve the model, and the viral kinetics parameters and returns a tibble containing true and observed viral loads.
simulate_viral_loads(
infection_times,
solve_times,
kinetics_pars,
vl_func_use = viral_load_func,
convert_vl = FALSE,
add_noise = NULL
)
infection_times |
Vector containing infection times. |
solve_times |
Vector of times at which individuals can be reported. |
kinetics_pars |
Vector of named parameters for the viral kinetics model. |
vl_func_use |
Determines which viral load function to use. The default is viral_load_func. |
convert_vl |
Convert to viral load value. FALSE by default. |
add_noise |
Add noise to Ct values? NULL by default. |
Returns a tibble containing true and observed viral loads.
James Hay, jameshay218@gmail.com
Other simulation functions:
simulate_infection_times()
,
simulate_observations_wrapper()
,
simulate_reporting()
,
simulate_seir_process()
,
simulate_seir_wrapper()
,
simulate_viral_loads_wrapper()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.