rxTheme is the ggplot2 theme for rxode2 plots
Usage
rxTheme(
base_size = 11,
base_family = "",
base_line_size = base_size/22,
base_rect_size = base_size/22,
grid = TRUE
)See also
Other rxode2 plotting:
is.rxStackData(),
plot.rxSolve(),
rxStack(),
stat_amt(),
stat_cens()
Examples
d <- data.frame(time = 0:10, cp = exp(-0.3 * (0:10)))
ggplot2::ggplot(d, ggplot2::aes(time, cp)) +
ggplot2::geom_line() +
rxTheme(grid = "y")
