dplyr mutate create column by variable code example
Example: r how to mutate
mutate(.data, ...)
# S3 method for data.frame
mutate(
.data,
...,
.keep = c("all", "used", "unused", "none"),
.before = NULL,
.after = NULL
)
mutate(.data, ...)
# S3 method for data.frame
mutate(
.data,
...,
.keep = c("all", "used", "unused", "none"),
.before = NULL,
.after = NULL
)