Learn R Programming

miscset (version 1.0.0)

factorNA: Create a Factor with NA as Level

Description

Create a factor with NA values included and positioned as last level.

Usage

factorNA(x, ...)

Arguments

x
A vector coerced to character.
...
Forwarded to factor. x and levels are defined.