Description Usage Arguments Examples
View source: R/confidence_interval.R
This function creates a new column with the desired confidence interval bound. Names the new column ci_bound.
1 2 3 4 5 6 7 | confidence_interval(
df,
metric_column = "metric",
denom_column = "n_count",
interval = 95,
bound = "upper"
)
|
df |
Dataframe. Used first to be friendly to the %>% operator. |
metric_column |
The column name desired for confidence interval. Defaults to metric |
denom_column |
Column name of the denominator used. Defaults to n_count |
interval |
The percent confidence for the interval. Defaults to 95. |
bound |
The side of the confidence interval. Defaults to upper. Choices are upper or lower. |
1 2 3 4 | ## Not run:
confidence_interval()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.