Skip to contents

Creates waterfall and spider plots to visualize tumor response data following RECIST criteria

Value

A list containing plot object and summary statistics

Super classes

jmvcore::Analysis -> ClinicoPath::waterfallBase -> waterfallClass

Examples

data <- data.frame(
  PatientID = paste0("PT", 1:10),
  Response = c(-100, -45, -30, -20, -10, 0, 10, 20, 30, 40),
  Time = c(1,2,3,4,5,6,7,8,9,10)
)
waterfall(data, "PatientID", "Response", "Time")
#> 
#>  TREATMENT RESPONSE ANALYSIS
#> 
#>  Response Categories Based on RECIST v1.1 Criteria 
#>  ───────────────────────────────────────────────── 
#>    Category    Number of Patients    Percentage   
#>  ───────────────────────────────────────────────── 
#>  ───────────────────────────────────────────────── 
#> 
#> 
#>  Person-Time Analysis                                                                                                   
#>  ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
#>    Response Category    Patients    % Patients    Person-Time    % Time    Median Time to Response    Median Duration   
#>  ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
#>  ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
#> 
#> 
#>  Clinical Response Metrics 
#>  ───────────────────────── 
#>    Metric    Value   
#>  ───────────────────────── 
#>  ───────────────────────── 
#>