Guest User

Untitled

a guest
Oct 17th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. library(nycflights13)
  2. library(tidyr)
  3. # Check the Dataset flights
  4. View(flights)
  5. #-----------------------------------------------------------------
  6. # Unite year, month and day columns into one column as date
  7. flight_unite <- unite(flights, date,month,day,year, sep = "-")
  8. View(flight_unite)
Add Comment
Please, Sign In to add comment