powered by
get_dri_alpha calculates the internal consistency of DRI survey responses using Cronbach's alpha
get_dri_alpha
get_dri_alpha(data)
a dataframe with alpha_c, alpha_p, and alpha_all with values of Cronbach's alpha for considerations, policy preferences, and both, respectively
alpha_c
alpha_p
alpha_all
the raw DRI survey response data
human_data for raw survey response data formatting
psych::alpha() for details on Cronbach's alpha calculation
psych::alpha()
Other DRI survey methods: get_dri_case(), get_dri_ic()
get_dri_case()
get_dri_ic()
# get pre-deliberation (stage_id == 1) data from Mayo case data <- human_data[human_data$stage_id == 1 & human_data$case == "Mayo", ] get_dri_alpha(data)
Run the code above in your browser using DataLab