R/cdi_processing.R
append_relative_cdi_scores.Rd
Adds a relative cdi score indicating the percentage of total achievable points the subject got on each given measure
append_relative_cdi_scores(subjects_table)
the input table with an added "cdi_relative" column that contains the percentage of total points gained in the given administrations
# \donttest{
cdi_data <- all_subjects %>%
unnest(subject_aux_data) %>%
filter(!is.na(cdi_responses)) %>%
unnest(cdi_responses) %>%
append_relative_cdi_scores()
#> Error in all_subjects %>% unnest(subject_aux_data) %>% filter(!is.na(cdi_responses)) %>% unnest(cdi_responses) %>% append_relative_cdi_scores(): could not find function "%>%"
# }