time_to_first_dose_increase {allMT} | R Documentation |
Plot the time taken for FIRST 6-Mercaptopurine (6MP) dose increase in cohort
Description
Evaluate median time (in weeks) to first 6MP dose increase for the cohort using Kaplan-Meier cumulative incidence estimator using ggsurvplot package
Usage
time_to_first_dose_increase(input_files_path, escalation_factor)
Arguments
input_files_path |
Path to folder with MT csv files (in quotes) |
escalation_factor |
Percentage of increase from first dose to be considered as an "increased" dose. |
Value
Median time (in weeks) to first 6MP dose increase plot
See Also
Examples
cohort_path = paste0(system.file("extdata/processed_data/", package = "allMT"), "/")
time_to_first_dose_increase(input_files_path = cohort_path,
escalation_factor = 10)
[Package allMT version 0.1.0 Index]