powered by
Analogous function for mutate and transmute in dplyr.
mutate
transmute
mutate_dt(data, ...)transmute_dt(data, ...)
transmute_dt(data, ...)
data.frame
List of variables or name-value pairs of summary/modifications functions.
data.table
# NOT RUN { iris %>% mutate_dt(one = 1,Sepal.Length = Sepal.Length + 1) iris %>% transmute_dt(one = 1,Sepal.Length = Sepal.Length + 1) # }
Run the code above in your browser using DataLab