View source: R/probability_of_recently_infected.R
probability_of_recently_infected | R Documentation |
a function that calculates the probability of testing recently infected at a time since infection tau.
probability_of_recently_infected(
time_in_years,
recency_type = "weibull",
q = 0.0167,
shape = 5,
gradient = -0.5,
intercept = 0.5,
scale = 0.545,
big_tyears = 2,
value = 1
)
time_in_years |
a vector of times since infection. |
recency_type |
a vector of times since infection. |
q |
a vector of times since infection. |
shape |
as defined by the weibull shape parameter, determines/affects the shape of a distribution |
gradient |
default value which is zero and is interpretated as . |
intercept |
as defined by the weibull scale parameter, determines the scale and determines how spread out the distribution is |
scale |
as defined by the weibull scale parameter, determines the scale and determines how spread out the distribution is |
big_tyears |
a vector of times since infection. |
value |
as defined by the weibull shape parameter, determines/affects the shape of a distribution |
a vector which denotes being the probability of testing recently infected being recently infected fo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.