This is an auxiliary function that describes the analysis in s_test_proportion_diff.
d_test_proportion_diff(method, alternative = c("two.sided", "less", "greater"))A string describing the test from which the p-value is derived.
(string)
one of chisq, cmh, cmh_wh, fisher, or schouten;
specifies the test used to calculate the p-value.
(string)
whether two.sided, or one-sided less or greater p-value
should be displayed.