mapToUnique: Group unique values of a vector

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Group unique values of a vector

Usage

1
mapToUnique(values)

Arguments

values

a vector of integers. If they are not integers they will be casted to integers.

Value

a list with the following items:

values

unique and sorted values of v

map

a vector such that v[i] = values[map[i]+1] for every i

@export


lamortenera/kfoots documentation built on May 20, 2019, 7:34 p.m.