Mutate a new set of columns for dummy variable coding of `var`.
mutate_dummy.Rd
The `var` column is a categorical variable which may be expressed in terms of `length(unique(df$var))` columns with levels zero or one using `model.matrix`.
mutate_dummy.Rd
The `var` column is a categorical variable which may be expressed in terms of `length(unique(df$var))` columns with levels zero or one using `model.matrix`.