Missing categories are not displayed when cube@useNA
is set to "no"
or ifANy
.
The way we handle these cases is to change the useNA
setting to always
, subset
the cube, and then change it back to the original value. For this to work we
need to translate the indices that the user supplied to properly skip over hidden
categories.
skipMissingCategories(cube, index, drop)
A list translated indexes
a CrunchCube
the user supplied index
whether dimensions should be dropped