gensvm.rank.score: Compute the ranks for the numbers in a given vector

View source: R/gensvm.grid.R

gensvm.rank.scoreR Documentation

Compute the ranks for the numbers in a given vector

Description

This function computes the ranks for the values in an array. The highest value gets the smallest rank. Ties are broken by assigning the smallest value. The smallest rank is 1.

Usage

gensvm.rank.score(x)

Arguments

x

array of numeric values

Value

array with the ranks of the values in the input array.


gensvm documentation built on Feb. 16, 2023, 5:58 p.m.