mutate()
adds new variables and preserves existing;
transmute()
drops existing variables.
# S3 method for FDF mutate(.data, ...) mutate(.data, ...)
.data | A FDF. |
---|---|
... | Name-value pairs of expressions. Use These arguments are automatically quoted and
evaluated in the context of the data
frame. They support unquoting and
splicing. See |
An object of the same class as .data
.
#> # A Filebacked Data Frame with 153 rows and 6 columns.mutate(test, Temp_Celsius = (Temp - 32) / 1.8, Temp_Kelvin = Temp_Celsius + 273.15)#> # A Filebacked Data Frame with 153 rows and 8 columns.