At times the data transformations we wish to perform involve applying the same transformations to multiple columns. Implicit transformation allows us to succinctly apply one or more data transformation expressions to a selected set of columns without having to spell out each transformation explicitly.
A typical implicit data transformation expression looks like so:
df_2 = df %>%
mutate(across(
where(is.double) & !c(col_1, col_2), round))
where the construct mutate(across(cols, fun))
allows us to succinctly apply a data transformation operation fun
to one or more columns cols
without repeating code.
This section is organized to cover the aspects of implicit data transformation as follows: