theme_km | R Documentation |
Custom theme, based upon the theme_bw theme in ggplot2
theme_km(base_size = 11, base_family = "", base_line_size = base_size/22, base_rect_size = base_size/22)
base_size |
base font size |
base_family |
base font family |
base_line_size |
base size for line elements |
base_rect_size |
base size for rect elements |
library(survsup); library(ggplot2) p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg, colour = factor(gear))) + facet_wrap(~am) p + theme_km()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.