tidyr_table_manipulation | R Documentation |
Use these methods without the '.dm_zoomed' suffix (see examples).
## S3 method for class 'dm_zoomed'
unite(data, col, ..., sep = "_", remove = TRUE, na.rm = FALSE)
## S3 method for class 'dm_keyed_tbl'
unite(data, ...)
## S3 method for class 'dm_zoomed'
separate(data, col, into, sep = "[^[:alnum:]]+", remove = TRUE, ...)
## S3 method for class 'dm_keyed_tbl'
separate(data, ...)
data |
object of class |
col |
For For |
... |
For For |
sep |
For For |
remove |
For For |
na.rm |
see |
into |
see |
zoom_united <- dm_nycflights13() %>%
dm_zoom_to(flights) %>%
select(year, month, day) %>%
unite("month_day", month, day)
zoom_united
zoom_united %>%
separate(month_day, c("month", "day"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.