View source: R/clean_timci_data.R
correct_spo2_values | R Documentation |
Correct hospital follow-up IDs (TIMCI-specific function)
correct_spo2_values(df, csv_prefix = "day0_spo2_meas1", meas = 1)
df |
dataframe |
csv_prefix |
A string value indicating the prefix of the CSV file from which to read the corrections (default is "day7_non_valid_pid_correction"). |
meas |
integer with value 1 or 2 to indicate the measurement variable to replace |
This function returns a list that contains a dataframe with corrections and the list of edits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.