README.md

kani

Personal R Package to help me in my analysis

Installation

devtools::install_github("kanishkamisra/kani")

Example

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")

ggplot_vanila

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()

ggplot_kani

To-do



kanishkamisra/kani documentation built on May 7, 2019, 10:39 a.m.