get_phq | R Documentation |
get_phq function
get_phq(dataset, subscales = F, completers = T)
dataset |
original dataset "PHQ-9" from the bundle |
subscales |
boolean parameter, if True includes to the returned dataframe moves subscales |
completers |
boolean parameter, if True filters out participants that are not labeled as completers |
either dataframe with 5 columns: PIN, response, phq_sum, phq_cat, phq_sev or dataframe with 7 columns: PIN, response, phq_sum, phq_cat, phq_sev, phq_sym_nsom, phq_symp_som
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.