d_proportion: Description of the proportion summary
Description
This is a helper function that describes the analysis in s_proportion().
Usage
d_proportion(conf_level, method, long = FALSE, method_only = FALSE)
Value
String describing the analysis.
Arguments
conf_level
(proportion) confidence level of the interval.
method
(string) the method used to construct the confidence interval
for proportion of successful outcomes; one of waldcc, wald, clopper-pearson,
wilson, wilsonc, strat_wilson, strat_wilsonc, agresti-coull or jeffreys.
long
(flag) whether a long or a short (default) description is
required.
method_only
(flag) whether to return only the method description,
without the confidence interval part of the description.
If TRUE, conf_level and long are ignored.