powered by
fact
NA
Included NA values into fact()
fact()
fact_na(x, remove = FALSE)
A fact vector
A fact or object cohered to fact
If TRUE removes NA value from the fact levels and uniques attributes
TRUE
levels
uniques
This re-formats the x value so that NAs are found immediately within the object rather than accessed through its attributes.
x
Other factors: as_ordered(), char2fact(), drop_levels(), fact(), fact2char()
as_ordered()
char2fact()
drop_levels()
fact2char()