| transmute.dtplyr_step {dtplyr} | R Documentation |
Create new columns, dropping old
Description
This is a method for the dplyr transmute() generic. It is translated to
the j argument of [.data.table.
Usage
## S3 method for class 'dtplyr_step'
transmute(.data, ...)
Arguments
.data |
A |
... |
< The value can be:
|
Examples
library(dplyr, warn.conflicts = FALSE)
dt <- lazy_dt(dplyr::starwars)
dt %>% transmute(name, sh = paste0(species, "/", homeworld))
[Package dtplyr version 1.3.1 Index]