Selection: Selection: Sel(X)

Description Usage Arguments Value Examples

View source: R/Selection.R

Description

Given a population with recorded fitness. Select best Y portion and repopulate.

Usage

1
Selection(inPop, por = 0.1)

Arguments

inPop

The input population-object

por

The portion of population to keep for gen n+1 (Default = 0.1)

Value

A population of the same size generated from the top portion

Examples

1
Gn+1 <- Selection(Gn, "surviving_portion")

fransilvion/REvolution documentation built on Nov. 4, 2019, 12:57 p.m.