Confidence level to probability

conf_to_probs(conf)

Arguments

conf

numeric between 0 and 1

Value

vector of length 2

Details

This is a convience function to convert from a confidence level to the lower and upper probability of the confidence interval.

Author

Matt Espe

Examples


conf_to_probs(0.95)
#> [1] 0.025 0.975