R Under development (unstable) (2024-12-09 r87433 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # > # Verify the success of my "stop the :: madness" fixes > # > library(survival) > aeq <- function(x, y, ...) all.equal(as.vector(x), as.vector(y), ...) > > fit1a <- coxph(Surv(time, status) ~ age + strata(sex) + cluster(inst), lung) > fit1b <- coxph(Surv(time, status) ~ age + survival::strata(sex) + + survival::cluster(inst), lung) > all.equal(fit1a, fit1b) [1] TRUE > > fit2a <- survdiff(Surv(time, status) ~ ph.ecog + strata(sex), lung) > fit2b <- survdiff(Surv(time, status) ~ ph.ecog + survival::strata(sex), lung) > all.equal(fit2a, fit2b) [1] TRUE > > fit3a <- survreg(Surv(time, status) ~ ph.ecog + strata(sex), lung) > fit3b <- survreg(Surv(time, status) ~ ph.ecog + survival::strata(sex), lung) > all.equal(fit3a, fit3b) [1] TRUE > > fit4a <- concordance(Surv(time, status) ~ ph.ecog + strata(sex), lung) > fit4b <- concordance(Surv(time, status) ~ ph.ecog + survival::strata(sex), lung) > all.equal(fit4a, fit4b) [1] TRUE > > proc.time() user system elapsed 0.79 0.09 0.87