View source: R/help_cost_analysis_functions.R
encode_codes_data | R Documentation |
Function to get the codes and the corresponding entries
encode_codes_data(list_code_values, data_column_nos, the_data)
list_code_values |
list of codes and values, given as list of lists |
data_column_nos |
the column numbers of data to look for the entries |
the_data |
the data where to look for |
weight and vol units
data_file <- system.file("extdata", "medication_liq_codes.xlsx",
package = "packDAMipd")
ind_part_data <- load_trial_data(data_file)
data_column_nos = c(2,12)
list_of_code_names = list(c(1, 2),c("Morphine", "Oxycodone"))
encode_codes_data(list_of_code_names, data_column_nos, ind_part_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.