Description Usage Arguments Value
View source: R/calculate_RECIST_response.R
This function takes tumour measurement data and calculates the RECIST outcome. It calculates a response for one timepoint measurement against the baseline. If multiple timepoint measurements are to be compared to a baseline, then this function will need to be run multiple times. It presumes that the data that are passed here are clean (i.e., all data are present, none are missing; all diameters add up to the sum etc.). The data in should also have a column that represents the minimum sum of tumour diameters (across all timepoints) for each patient.
1 2 3 4 5 6 7 8 9 10 11 | calculate_RECIST_response(
this_data,
id_variable,
baseline_diam,
baseline_sum,
min_sum = NULL,
timepoint_diam,
timepoint_sum,
this_function = NA,
label_string = "RECIST"
)
|
this_data |
The tibble in which the column exists. |
id_variable |
The column that defines each patient (i.e., the patient ID) |
baseline_diam |
The variable that represents the individual diameters at baseline |
baseline_sum |
The variable that represents the sum at baseline |
min_sum |
The variable that represents the smallest diameter in the study (if absent, assumes this value is the baseline_sum) |
timepoint_diam |
The variable that represents the individual diameters at the later timepoint |
timepoint_sum |
The variable that represents the sum at the later timepoint |
this_function |
A label for error/warning messages (by default it is the name of this function) |
label_string |
The string to use for the result column |
A list, containing (1) the assessment (using RECIST v1.1 criteria) and (2) the supporting data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.