Learn R Programming

GENEAclassify (version 1.5.3)

inGroup: Which values are in a new group?

Description

Choose elements at each step. Used by features to identify unique components of splits table.

Usage

inGroup(x)

Value

logical vector with length x

Arguments

x

numeric vector

Examples

Run this code
GENEAclassify:::inGroup(x = rep(-1, 5))
x1 <- c(1, 1, 1, 2, 2, 2, 2, 3, 3)
x1t <- GENEAclassify:::inGroup(x = x1)
x1[x1t]

Run the code above in your browser using DataLab