Learn R Programming

rgp (version 0.4-1)

popfitness: Calculate the fitness value of each individual in a population

Description

Calculate the fitness value of each individual in a population

Usage

popfitness(pop, fitnessfunc)

Arguments

pop
A population of functions.
fitnessfunc
The fitness function.

Value

A list of fitness function values in the same order as pop.