sortPopulation: sortPopulation

View source: R/global.lib.R

sortPopulationR Documentation

sortPopulation

Description

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


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.