Sort a population according to a given attribute (evalToOrder)
Usage
sortPopulation(pop, evalToOrder = "fit_", decreasing = TRUE)
Arguments
- pop:
a population (list) of evaluated predomics objects
- evalToOrder:
the attribute to be used in the sorting (default:fit_)
- decreasing:
whether the sorting should be be decreasing or not (default:decreasing)
Value
a sorted population of predomics objects