Learn R Programming

predict3d (version 0.1.5)

rank2group2: Rank a numeric vector using proportional table and returns a new ordinal vector

Description

Rank a numeric vector using proportional table and returns a new ordinal vector

Usage

rank2group2(x, k = 4)

Arguments

x

a numeric vector

k

a integer specifies how many groups you want to classify. default value is 4