Crandore Hub

contsurvplot

Visualize the Effect of a Continuous Variable on a Time-to-Event Outcome

Graphically display the (causal) effect of a continuous variable on a time-to-event outcome using multiple different types of plots based on g-computation. Those functions include, among others, survival area plots, survival contour plots, survival quantile plots and 3D surface plots. Due to the use of g-computation, all plot allow confounder-adjustment naturally. For details, see Robin Denz, Nina Timmesfeld (2023) <doi:10.1097/EDE.0000000000001630>.

Versions across snapshots

VersionRepositoryFileSize
0.2.3 2026-04-09 windows/windows R-4.5 contsurvplot_0.2.3.zip 975.2 KiB

Dependencies (latest)

Imports

Suggests