Prepare a List of Algorithms
list_algorithms.RdUsing the table with PDD rates estimates per diagnostic algorithm
generated by summarise_rates, this function extracts a list of
algorithms using different IADL criteria for PDD. If there was an algorithm
that uses both criteria at the same time, the function prints an error.
Value
A list with two components:
faq_totA character vector containing names of algorithms that defined IADL deficit by FAQ total score > 7.
faq_9A character vector containing names of algorithms that defined IADL deficit by FAQ item 9 > 1.
See also
summarise_rates() which is fed into this function.
Examples
if (FALSE) { # \dontrun{
p <- data_paths("data-raw")
data <- prepare_data(p)
pdd <- diagnose_pdd_sample(data)
vars <- here::here("data-raw", "VariablesOfInterest.csv")
rates <- summarise_rates(pdd, vars)
algos <- list_algorithms(rates$table)
} # }