format_for_recode: Format for recode

Description Usage Arguments

Description

Print an incomplete fct_recode function to make it easier to manually recode factor levels.

Usage

1
format_for_recode(target, as_mutate = FALSE)

Arguments

target

The factor you want to recode

as_mutate

Output as a mutate call. Defaults to false.


arichardsmith/r-toolbelt documentation built on Dec. 23, 2021, 11:13 p.m.