Learn R Programming

rafalib (version 1.0.0)

splitit: split it

Description

Creates an list of indexes for each unique entry of x

Usage

splitit(x)

Arguments

x
a vector

Examples

Run this code
x <- c("a","a","b","a","b","c","b","b")
splitit(x)

Run the code above in your browser using DataLab