Function calculates probability of disease (PoD) for given titers according to a PoD curve.
cppPoD(titer, pmax, et50, slope, adjustTiters = FALSE, adjustFrom = 0, adjustTo = 0)
numeric vector: vector of subject level titers
numeric: maximum PoD
numeric: titer value corresponding to pmax/2 value, PoD(et50) = pmax/2
numeric: slope of the PoD curve
boolean: set to TRUE if titer values should be adjusted, for details see PoD
function
numeric: value specifying the detection limit, all values below the detection limit will be adjusted to adjustTo value
numeric: value to which titers below the detection limit will be adjusted
vector of PoDs
See PoD
function for more details. These two functions are equivalent. Usage of cppPoD significantly improves the computation speed over the PoD
function.