EfficacyCI: PoDBAY efficacy summary: mean, median, confidence intervals

Description Usage Arguments Details Value Examples

View source: R/FunctionsPODBAYEfficacy.R

Description

Function summarizes PoDBAY efficacy statistics (mean, median, confidence intervals) based on the set of estimated efficacies and chosen condfidence level. (Set of efficacies is a vector obtained by number of replications specified by repeatCount. These replications are performed for calculation of a confidence interval. For more details, see the supplementary material of the article).

Usage

1
EfficacyCI(efficacySet, ci = 0.95)

Arguments

efficacySet

numeric vector: estimated PoDBAY efficacies from PoDBAYEfficacy function.

ci

numeric: required confidence level

Details

Confidence intervals are calculated using quantiles of estimated efficacies.

Value

named list: mean, median, CILow, CIHigh

Examples

1
2
3
4
5
## Data preparation
data(efficacySet)

## Example 1
EfficacyCI(efficacySet, ci = 0.95)

PoDBAY documentation built on Sept. 21, 2021, 5:08 p.m.