mask_diff: Get differences omitting masked results

Description Arguments Value Usage Details Author(s) Examples

Description

This is a specialized function that gets the names associated with a vector after removing a set of masked values from the sequence.

Arguments

x

A vector

mask

The value(s) to remove from the diff results

Value

The names of a sequence with masked values removed

Usage

mask_diff(x, mask=0)

Details

This is a convenience function and primarily used internally.

Author(s)

Brian Lee Yung Rowe

Examples

1
2
a <- round(runif(20,0,4))
mask_diff(a)

zatonovo/kingsmen documentation built on May 4, 2019, 9:11 p.m.