Learn R Programming

allMT (version 0.1.1)

time_to_first_dose_increase: 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)

Value

Median time (in weeks) to first 6MP dose increase plot

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.

See Also

assess_increased_doses()

Examples

Run this code
cohort_path = paste0(system.file("extdata/processed_data/", package = "allMT"), "/")
time_to_first_dose_increase(input_files_path = cohort_path,
                escalation_factor = 10)


Run the code above in your browser using DataLab