Wrapper for factor with ordered = FALSE
as_factor(x, ordered = FALSE)
x
Input vector
ordered
Order factor levels (TRUE, FALSE)