Learning R and Data Science for RL2

Yao-Jen Kuo

簡單自我介紹

系統訓練班

對資料科學的淺見

開卷有益

R in Action

R in Action

The Art of R Programming

The Art of R Programming

其他學習管道

這我最會

這我最會

安裝開發環境

R語言強項有

R語言可以做哪些事

視覺化

Basic Plotting System

counts <- table(mtcars$gear)
barplot(counts, main="Basic Plotting System", horiz=TRUE, names.arg=c("3 Gears", "4 Gears", "5 Gears"))

ggplot2

library(ggplot2)
ggplot(mtcars, aes(factor(gear)))+geom_bar()+coord_flip()

Plotly

library(plotly)
countsDF <- data.frame(counts)
plot_ly(countsDF, x=Freq, y=Var1, type="bar", orientation="h")

Leaflet

library(leaflet)
helloMap <- leaflet() %>%
  addTiles() %>% #把預設的地圖圖層加入
  addMarkers(lng=121.539366, lat=25.017326, popup="National Taiwan University")
helloMap

Shiny

做Presentation

講義