R/propPval.R

propPval <- function(..., method=c('binom.test', 'prop.test')) {
	if (is.character(method)) {
		method <- match.arg(method)
	}
	switch( method,
		prop.test = pval(prop.test(...)),
		binom.test = pval(binom.test(...)),
	)
}

Try the abd package in your browser

Any scripts or data that you put into this service are public.

abd documentation built on May 2, 2019, 4:46 p.m.