View source: R/3a_trialdata_analysis_input_functions.R
get_outcome_details | R Documentation |
Function to get the details of the outcome column
get_outcome_details(trialdata, name, related_words, multiple = FALSE)
trialdata |
data containing individual level trial data |
name |
name of the variable |
related_words |
probable column names |
multiple |
indicates true if there are multiple columns |
if the words related to outcome is given, the function will get the columns and the codes used for the outcome, the difference here is that certain outcomes can be distributed in multiple columns
the name of the variable related to health outcome (any) and the unique contents if success, else error
get_outcome_details(
data.frame("qol.MO" = c(1, 2), "qol.PD" = c(1, 2), "qol.AD" = c(1, 2)),
"eq5d", "qol", TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.