row_number_unique: Create a rank given unique values from a variable

View source: R/row_number_unique.r

row_number_uniqueR Documentation

Create a rank given unique values from a variable

Description

Get the row number for unique values.

Usage

row_number_unique(x)

Arguments

x

A vector

Value

A numeric vector with rank, given the unique values from argument 'x'.

Examples


row_number_unique(mtcars$gear)


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.