Skip to contents

Wrapper for dplyr::case_when(), but result is a factor with levels in same order passed to .... Returns an ordered factor if .ordered is TRUE.

Usage

fct_case_when(..., .ordered = FALSE)