Perform vectorized hypothesis tests for the difference of two proportions
Source:R/vectorized_prop_test.R
vct_prop_test_pval.RdGiven vectors x1, n1, x2 and n2, return a vector of p-values that
test whether x1 / n1 is the same proportion as x2 / n2.
Value
A vector of two-sided p-values. Comparisons with a zero base or zero
standard error return NA.
Details
All credit to David Robinson.