Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(nycflights13)
- library(tidyr)
- # Check the Dataset flights
- View(flights)
- #-----------------------------------------------------------------
- # Unite year, month and day columns into one column as date
- flight_unite <- unite(flights, date,month,day,year, sep = "-")
- View(flight_unite)
Add Comment
Please, Sign In to add comment