is.na for Categories
# S4 method for Categories
is.na(x)# S4 method for Categories,character
is.na(x) <- value
# S4 method for Categories,logical
is.na(x) <- value
# S4 method for Category
is.na(x)
# S4 method for Category,logical
is.na(x) <- value
Categories or a single Category
To change the missingness of categories, supply either (1) a logical vector of equal length of the categories (or length 1 for the Category method), or (2) the names of the categories to mark as missing. If supplying the latter, any categories already indicated as missing will remain missing.
Getters return logical, a named vector in the case of the Categories
method; setters return x
duly modified.