Description Usage Arguments Value Examples
View source: R/FunctionsPoDParameters.R
Supplementary function for plotting the PoD curve with the confidence ribbon (of a required level). Input values are related to PoDBAY package structure.
See vignette("EfficacyEstimation", package = "PoDBAY")
for an example of application of this function.
1 2 3 | PoDCurvePlot(titers,
estimatedParameters,
ci = 0.95)
|
titers |
numeric vector: grid of titers at which the confidence ribbon should be calculated |
estimatedParameters |
estimatedParameters named data frame (pmax, slope, et50): set of estimated PoD curve parameters, output of |
ci |
numeric, required confidence level |
PoD curve plot
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Data preparation
library(ggplot2)
data(PoDParams)
data(estimatedParameters)
## Example 1
# titers for which we want calculate the confidence intervals
titers <- seq(from = 0, to = 15, by = 0.01)
# squared error of CurveTitersMedian and functional values of "params" curve
PoDCurvePlot(titers,
estimatedParameters,
ci = 0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.