get_dri_case calculates the pre- and post-deliberation DRI from a specific
deliberation case
Usage
get_dri_case(
case,
adjusted = TRUE,
method = "wilcox",
alternative = "greater",
data = NULL
)
Value
a tibble with with the following components: case, pre,
post, delta, p_value, and significance
Arguments
case
a character string specifying the name of the case in human_data
adjusted
a logical indicating whether you want the original or adjusted
DRI formula
method
a character string specifying the method for statistical testing,
must be one of "wilcox" (default) or "t.test"
alternative
a character string specifying the alternative hypothesis,
must be one of "greater" (default), "two.sided" or "less".
You can specify just the initial letter
data
a survey responses dataframe, must include pre-
(stage_id == 1) and post-deliberation (stage_id == 2) data
See Also
human_data for raw survey response data formatting
Other DRI survey methods:
get_dri_alpha(),
get_dri_ic()