set_theme_survex {survex} | R Documentation |
Default Theme for survex plots
Description
Default Theme for survex plots
Usage
set_theme_survex(
default_theme = "drwhy",
default_theme_vertical = default_theme
)
theme_default_survex()
theme_vertical_default_survex()
Arguments
default_theme |
object - string ("drwhy" or "ema") or an object of ggplot theme class. Will be applied by default by |
default_theme_vertical |
object - string ("drwhy" or "ema") or an object of ggplot theme class. Will be applied by default by |
Value
list with current default themes
Examples
old <- set_theme_survex("ema")
library(survival)
library(survex)
model <- randomForestSRC::rfsrc(Surv(time, status) ~ ., data = veteran)
exp <- explain(model)
p_parts_lime <- predict_parts(exp, veteran[1, -c(3, 4)], type = "survlime")
old <- set_theme_survex("drwhy")
plot(p_parts_lime)
old <- set_theme_survex(ggplot2::theme_void(), ggplot2::theme_void())
plot(p_parts_lime)
[Package survex version 1.2.0 Index]