Wrapper for factor with ordered = FALSE

as_factor(x, ordered = FALSE)

Arguments

x

Input vector

ordered

Order factor levels (TRUE, FALSE)