Skip to content

Commit

Permalink
fix tests and attach survival
Browse files Browse the repository at this point in the history
  • Loading branch information
gravesti committed Jul 26, 2024
1 parent 9437a9b commit 3881359
Show file tree
Hide file tree
Showing 10 changed files with 7,942 additions and 7,917 deletions.
1 change: 1 addition & 0 deletions R/survival-helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#' @examples
#' data(adtte_sat)
#' data(pseudo_ipd_sat)
#' library(survival)
#' combined_data <- rbind(adtte_sat[, c("TIME", "EVENT", "ARM")], pseudo_ipd_sat)
#' kmobj <- survfit(Surv(TIME, EVENT) ~ ARM, combined_data, conf.type = "log-log")
#'
Expand Down
1 change: 1 addition & 0 deletions man/medSurv_makeup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 6 additions & 18 deletions tests/testthat/_snaps/plot_km/kmplot-all.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 31 additions & 37 deletions tests/testthat/_snaps/plot_km/kmplot-by-arm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 27 additions & 33 deletions tests/testthat/_snaps/plot_km/kmplot-by-trial.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7,760 changes: 3,897 additions & 3,863 deletions tests/testthat/_snaps/plot_km/ph-diagplot-anchored.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7,776 changes: 3,909 additions & 3,867 deletions tests/testthat/_snaps/plot_km/ph-diagplot-unanchored.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 6 additions & 18 deletions tests/testthat/_snaps/plot_km2/kmplot2-all.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 38 additions & 49 deletions tests/testthat/_snaps/plot_km2/kmplot2-by-am.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 26 additions & 32 deletions tests/testthat/_snaps/plot_km2/kmplot2-by-trial.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3881359

Please sign in to comment.