Learn R Programming

deliberr (version 0.1.0)

get_dri: Get DRI from a Group of Participants

Description

get_dri calculates the deliberation reasoning index (DRI) for a group of deliberation participants

Usage

get_dri(ic, adjusted = TRUE)

Value

the group-level DRI value

Arguments

ic

dataframe generated by get_dri_ic(data)

adjusted

a logical indicating whether to use the original or adjusted DRI calculation formula

See Also

get_dri_ic() to generate ic parameter

Other IC methods: get_dri_ind()

Examples

Run this code

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

# calculate IC
ic <- get_dri_ic(data)

# generate DRI
get_dri(ic)

# same as the mean of individual DRIs
mean(get_dri_ind(ic)$dri)

Run the code above in your browser using DataLab