This function is mainly for internal use. It adds a label to
a logical vector, so that the Percent
pseudo-function
can ignore it when forming a denominator.
labelSubset(subset, label)
A logical vector describing a subset of the dataset.
A character label to use to describe this subset in a call
to Equal
or Unequal
within Percent
.
A vector of class "labelledSubset"
with the label
recorded as an attribute.