View source: R/prevalences_calculation.R
prevalences_calculation | R Documentation |
calculates the probability of being recently infected given that you already HIV positive.
prevalences_calculation(time_step, recency_function, tau_cutoff, BigT, cohort)
time_step |
the time step between consecurtive dates or the length of the time between date of births of cohorts. |
recency_function |
the recent function that describes the recency aspect |
tau_cutoff |
switch parameter that enables cutting off/not the rececny prevelances calculated beyond big T |
BigT |
the point to cut off for all points that are beyond recency classification mark in days |
cohort |
Status of the popuation in the cohort. |
a function that returns an array of probabilities of surviving in the infected state for each age, time and time since infection.
a list of prevalences i.e. prevalence of HIV status, prevalence of recency,and prevelance of HIV age and tau .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.