Description Usage Arguments Details Value Examples
View source: R/FunctionsPopulationGeneration.R
Function calculates probability of disease (PoD) corresponding to given titers according to a sigmoid PoD curve.
1 |
titer |
numeric vector: subject level titers |
pmax |
numeric: maximum PoD |
et50 |
numeric: titer values corresponding to pmax/2 value, PoD(et50) = pmax/2 |
slope |
numeric: slope of the PoD curve |
adjustTiters |
boolean: set to TRUE if titer values should be adjusted, for details see |
adjustFrom |
numeric: value specifying the detection limit, all values below the detection limit will be adjusted to adjustTo value |
adjustTo |
numeric: value to which titers below the detection limit will be adjusted |
PoD is calculated as:
PoD = pmax * (et50/titer)^(slope) / (1+ (et50/titer)^(slope), for titers > 0
and
PoD = pmax for titers <= 0
.
vector of PoDs
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.