Personal R Package to help me in my analysis
devtools::install_github("kanishkamisra/kani")
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg, color = factor(gear))) +
geom_point() +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE) +
labs(title = "This is a title", subtitle = "This is a subtitle")
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg, color = factor(gear))) +
geom_point() +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE) +
labs(title = "This is a title", subtitle = "This is a subtitle") +
scale_color_kani() +
theme_kani()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.