The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The survSAKK
R package provides the
surv.plot()
function, facilitating Kaplan-Meier survival
analysis. Designed with user-friendliness and efficiency in mind.
Offering a robust tool for analysing survival data. It utilises the
functionalites of survival::survfit()
.
Install the current version of survSAKK
with:
# install.packages("devtools")
::install_github("SAKK-Statistics/survSAKK",
devtoolsbuild_vignettes = TRUE,
force = TRUE)
# Load required library
library(survSAKK)
library(survival)
# Fit survival object
<- survfit(Surv(lung$time/365.25*12, status) ~ sex, data = lung)
fit
# Generate surival plot
surv.plot(fit = fit,
time.unit = "month",
legend.name = c("Male", "Female"))
# R Documentation
## survSAKK: Create publication ready Kaplan-Meier plot
help("survSAKK-package")
## Publication Ready Kaplan-Meier Plot
help("surv.plot")
Webpage of the vignette: survSAKK
# Vignette
vignette("surv.plot", package = "survSAKK")
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.