| booltypes {bit} | R Documentation |
The ordered factor booltypes ranks the boolean types.
booltypes
An object of class ordered (inherits from factor) of length 6.
There are currently six boolean types, booltypes is an ordered vector with the following ordinal levels
non-boolean types
logicalfor representing any boolean data including NA
bitfor representing dense boolean data
bitwhichfor representing sparse (skewed) boolean data
whichfor representing sparse boolean data with few TRUE
rirange-indexing, for representing sparse boolean data with a single range of TRUE
booltypes has a names attribute such that elements can be selected by name.
do not rely on the internal integer codes of these levels, we might add-in hi later
booltype, is.booltype, as.booltype