View source: R/within_stats_funs.R
Returns p-value from a binomial test
1 | get_binom_p_value(k, n, digits = 4, alternative = "two.sided")
|
k |
number of successes |
n |
total number |
digits |
number of significant digits of p-value |
alternative |
to pass to binom.test(); "two.sided", "greater", or "less" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.