ggplot extensions

ggplot extensions gallery

library(tidyverse)
# install.packages("devtools")
# devtools::install_github("dgrtwo/gganimate")
# install.packages('ggthemes', dependencies = TRUE)
mtcars %>% 
  mutate(car.name = rownames(mtcars)) %>% 
  ggplot(aes(mpg, disp, label = car.name, fill = factor(cyl)))+
  geom_label()

Plotly

подробнее см. здесь

# install.packages("plotly")
library(plotly)
mtcars %>% 
  mutate(car.name = rownames(mtcars)) %>% 
  ggplot(aes(mpg, disp, label = car.name, color = factor(cyl)))+
  geom_point() ->
  p

ggplotly(p)

Flex Dashboards

подробнее см. здесь

# install.packages("flexdashboard")

См. пример с картой И код

Shiny

подробнее см. здесь

# install.packages("shiny")