Description Usage Arguments Examples
This function is a wrapper for binom.test()
with a custom output format. Specifically, the function returns a dataframe with columns for the mean of the input vector as well as min and max values calculated from binom.test
. This function is particularly useful in conjunction with the stat_summary()
function in ggplot2 for plotting summary statistics of binary data.
1 | reskew_binom_test(numeric.vector)
|
numeric.vector |
A binary numeric vector. |
1 2 3 | test.vector <- rep(c(1, 0), 25)
reskew_binom_test(test.vector)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.