Description Usage Arguments Value Examples
mutate()
adds new variables and preserves existing ones;
transmute()
adds new variables and drops existing ones. Both
functions preserve the number of rows of the input.
1 2 3 4 |
.data |
A FDF. |
... |
Name-value pairs of expressions, each with length 1 or the same
length as the number of rows in the group (if using The arguments in |
An object of the same class as .data
.
1 2 3 | (test <- FDF(datasets::airquality))
mutate(test, Temp_Celsius = (Temp - 32) / 1.8,
Temp_Kelvin = Temp_Celsius + 273.15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.