| plot_tdt_landscape | R Documentation |
Exposure-duration axis is linear by default; pass log_time = TRUE for the
classical log-time TDT presentation.
plot_tdt_landscape(
landscape,
observed = NULL,
contours = c(0.25, 0.5, 0.75),
log_time = FALSE,
clip_to_observed = TRUE,
facet_scales = c("auto", "fixed", "free", "free_x", "free_y")
)
landscape |
Output of |
observed |
Optional standardised data tibble to overlay. |
contours |
Numeric vector of survival levels to draw contours at.
Default |
log_time |
Logical. If |
clip_to_observed |
Logical. If |
facet_scales |
Facet scale behaviour for grouped landscapes. |
A grouped fit (a moderator on CTmax/z, e.g. oxygen or species)
produces one heatmap panel per group, mirroring plot_survival_curves();
a single-condition fit returns the one ungrouped heatmap.
A ggplot object.
## Not run:
lsp <- derive_tdt_landscape(wf)
plot_tdt_landscape(lsp, observed = wf$data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.