gensvm.rank.score {gensvm}R 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.


[Package gensvm version 0.1.7 Index]