getrankfitness: calculate rank-based fitness

Description Usage Arguments Author(s)

Description

getrankfitness calculates the fitness based on the objective function's rank

Usage

1
getrankfitness(fitness, reverse = TRUE)

Arguments

fitness

goodness of fit ~ a casenum * 1 vector , default is AICvalue

reverse

whether we need to reverse the order when we rank the values in fitness, depends on whether the larger the value in the "fitness" vector , the better the fitness

Author(s)

Lei Zhang


lixiao0214/GA documentation built on May 3, 2019, 7:06 p.m.