Use dplyr verb mutate on skim_df objects.
# S3 method for skim_df
mutate(.data, ...)
A tbl. All main verbs are S3 generics and provide methods
for tbl_df()
, dtplyr::tbl_dt()
and dbplyr::tbl_dbi()
.
Name-value pairs of expressions, each with length 1 or the same
length as the number of rows in the group (if using group_by()
) or in the entire
input (if not using groups). The name of each argument will be the name of
a new variable, and the value will be its corresponding value. Use a NULL
value in mutate
to drop a variable. New variables overwrite existing variables
of the same name.
The arguments in ...
are automatically quoted and
evaluated in the context of the data
frame. They support unquoting and
splicing. See vignette("programming")
for an introduction to
these concepts.
skim_df object coerced to a data frame.