Description Usage Arguments Details Value Examples
View source: R/FunctionsPoDParameters.R
Function returns PoD curve parameters corresponding to the point estimate of PoD curve.
1 2 3 | PoDParamPointEstimation(resultsPriorReset,
titers = seq(from = 0, to = 20, by = 0.01),
optim_titers = FALSE)
|
resultsPriorReset |
named data frame ("pmax", "slope", "et50"): set of estimated PoD curve parameters before resetting the disease status; for further details see |
titers |
numeric vector: a grid of titers for PoD curve point estimate calculation |
optim_titers |
logical: TRUE for a predefined sequence of titers |
For each of estimated PoD curves in resultsPriorReset, the function values (probabilities of disease, PoD) for provided grid of titers are calculated.
Median of function values (PoDs) at each provided titer is calculated.
Subsequently, the PoD curve model is fitted to the median datapoins using fitPoD
function, in order to get PoD curve parameters close to this median curve.
paramsPointEstimate: named data frame of PoD curve parameters corresponding to the PoD curve point estimate
1 2 3 4 5 6 7 8 9 | ## Data preparation
data(estimatedParameters)
## Example 1
# titers for which we want to optimize the functional values
titers <- seq(from = 0, to = 20, by = 0.01)
# Point estimate of PoD curve
PoDParamPointEstimation(estimatedParameters$resultsPriorReset, titers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.