viral_load_func: This function returns modal Ct values or viral load values,...

View source: R/viral_load_functions.R

viral_load_funcR Documentation

This function returns modal Ct values or viral load values, if convert_vl flag is set to TRUE.

Description

This function returns modal Ct values or viral load values, if convert_vl flag is set to TRUE.

Usage

viral_load_func(pars, obs_t, convert_vl = FALSE, infection_time = 0)

Arguments

pars

Vector of model parameter values.

obs_t

Vector of times since infection. Referred to as "ages."

convert_vl

Boolean flag used to indicate if Ct values should be converted to viral load values. Set to FALSE by default.

infection_time

Time of infection. Set to 0 by default.

Value

Returns modal Ct or viral load values.

Author(s)

James Hay, jameshay218@gmail.com

See Also

Other viral load functions: pred_dist_wrapper(), simulate_detectable_wrapper(), simulate_viral_loads_example_symptoms(), simulate_viral_loads_example()


jameshay218/virosolver documentation built on April 17, 2025, 2:57 p.m.