get_binom_p_value: Returns p-value from a binomial test

Description Usage Arguments

View source: R/within_stats_funs.R

Description

Returns p-value from a binomial test

Usage

1
get_binom_p_value(k, n, digits = 4, alternative = "two.sided")

Arguments

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"


skaltman/yvw documentation built on May 21, 2019, 9:39 a.m.