splitit: split it

Description Usage Arguments Examples

View source: R/splitit.R

Description

Creates an list of indexes for each unique entry of x

Usage

1

Arguments

x

a vector

Examples

1
2
x <- c("a","a","b","a","b","c","b","b")
splitit(x)

rafalib documentation built on May 29, 2017, 1:47 p.m.