summarize_metrics {bandit}
summarize_metrics
Description
A convenience function to perform overall metric analysis: mean, median, CI.
Usage
summarize_metrics(v, successes=NULL)
Arguments
- v
- a vector of values to be analyzed (for nonbinary data), or number of trials (for binary data)
- successes
- number of successes (for binary data)
Values
a list with the following items:
- mean
- mean
- median
- median
- lower
- 0.95 confidence interval on the mean
- upper
- 0.95 confidence interval on the mean
- num_obs
- number of observations of this metric
- total
- the sum of all values of this metric (mean*num_obs)
Examples
Documentation reproduced from package bandit, version 0.3.0. License: GPL-3
