n_rank {COINr}R Documentation

Normalise using ranks

Description

This is simply a wrapper for base::rank(). Higher scores will give higher ranks.

Usage

n_rank(x, ties.method = "min")

Arguments

x

A numeric vector

ties.method

This argument is passed to base::rank() - see there for details.

Value

Numeric vector

Examples

x <- runif(20)
n_rank(x)


[Package COINr version 1.1.7 Index]