R Under development (unstable) (2026-02-16 r89426 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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. > > ## The following gave an error for versions<1.2.7 > ## there was a problem if all the censoring happended > ## at times where there was also failures > library(bpcp) Loading required package: survival Loading required package: ggplot2 > x<-c(1,1,2,3) > status<-c(0,1,1,1) > plot(c(0,5),c(0,1),type="n") > ## also the default color for the survival line in > ## lines.kmciLR was white...gray(1), > ## it should be black...gray(0) > lines(bpcp(x,status),linetype="surv") > > proc.time() user system elapsed 2.14 0.15 2.28