Description Usage Arguments Details Value Examples
Function computes summary statistics for a binomial outcome variable. It computes the mean and the confidence intervals using the Agresti-Coull method.
1 | binom_summary(outcome)
|
outcome |
A vector containing the outcome of a binomial response. The values have to be either logical (TRUE/FALSE) or zeros and ones, where TRUE and one mark a success. |
Agresti-Coull method: For a 95% confidence interval, this method does not use the concept of "adding 2 successes and 2 failures," but rather uses the formulas explicitly described in the following link: http://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval#Agresti-Coull_Interval.
a data.frame
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.