Skip to contents

A function to apply before export values to excel

Usage

fct_to_excel_values(x)

Arguments

x

A factor

Examples


f <- factor(c("b", "b", "a", "c", "c", "c"))

fct_to_excel_values(f)
#> [1] 2) b 2) b 1) a 3) c 3) c 3) c
#> Levels: 1) a 2) b 3) c