labelSubset: Add a label to a logical vector.

Description Usage Arguments Value Author(s) See Also

Description

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.

Usage

1

Arguments

subset

A logical vector describing a subset of the dataset.

label

A character label to use to describe this subset in a call to Equal or Unequal within Percent.

Value

A vector of class "labelledSubset" with the label recorded as an attribute.

Author(s)

Duncan Murdoch

See Also

Percent



Search within the tables package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.