selected_columns: Convert an outlier_mask to a vector of column indices

Description Usage Arguments Value Examples

Description

This function returns an ordered vector of all the 1-toggled bits in the outlier_mask offset by 1.

Usage

1
selected_columns(outlier_mask)

Arguments

outlier_mask

An integer representing the outlier mask.

Value

A vector of column indices corresponding to the outlier mask.

Examples

1
2
outlier_mask <- 7
autovarCore:::selected_columns(outlier_mask)


Search within the autovarCore 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.