powered by
Add tranformed variables to a data frame (NSE)
mutate_ext(.tbl, .funs, ..., .ext = "")
Data frame to add transformed variables to
Function(s) to apply (e.g., funs(log))
Variables to transform
Extension to add for each variable
Wrapper for dplyr::mutate_at that allows custom variable name extensions
# NOT RUN { mutate_ext(mtcars, funs(log), mpg, cyl, .ext = "_log") mutate_ext(mtcars, funs(log), .ext = "_log") # }
Run the code above in your browser using DataLab