Learn R Programming

deliberr (version 0.1.0)

summarize_perm_dri: Summarize DRI Permutation Test Results

Description

summarize_perm_dri summarizes the results of a permutation test done using permute_dri(..., summary = FALSE); useful for summarizing results after plotting permutation results

Usage

summarize_perm_dri(perms, type = "common")

Value

summary of permutation test

Arguments

perms

results of the permutation test generated by permute_dri()

type

which type of statistics to summarize (e.g., "common", "robust", "mean")

See Also

permute_dri() for generating the perms parameter

rstatix::get_summary_stats() for values of type

Examples

Run this code

# get pre-deliberation (stage_id == 1) data from Zukunft case
data <- human_data[human_data$stage_id == 1 & human_data$case == "Zukunft", ]

# create permutations
perms <- permute_dri(data, iterations = 100, summary = FALSE)

summarize_perm_dri(perms)

Run the code above in your browser using DataLab