this is changing the score to percentage ranking

linMap(x, from, to)

Arguments

x

this is the input score vector

from

a numerical value, this is the lower bound

to

a numerical value, this is the upper bound

Value

another vector with percentage ranking score

Examples

data("rawdata", package = "simKAP") new_score <- linMap(rawdata$recip_epts,1,100);