The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

landmarked

The goal of landmarked is to plot survival curves for time-to-event data adjusted for a specified landmark time. You can use your existing survminer::ggsurvplot code and specify the landmark time and label.

Installation

You can install the landmarked from CRAN with:

install.packages("landmarked")

You can install the development version of landmarked from GitHub with:

# install.packages("pak")
pak::pak("CStats/landmarked")

Example

This is a basic example which shows you how to plot an adjusted landmark curve.

library(landmarked)

fit = survival::survfit(survival::Surv(time, status) ~ sex, data = survival::lung)
ggsurvplotlm(fit, landmark_time = 42, landmark_label = "Landmark Time")

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.
Health stats visible at Monitor.