ExtractBestIndividual: Indentify the individual with the best fitness in a given...

Description Usage Arguments Details Examples

Description

ExtractBestIndividual() ExtractBestIndividual() identifies the most fit individual within a generation and returns linear regression object produced by either lm or glm. It also prints a summary of the linear regression object and the fitness value if prompted by the user.

Usage

1
ExtractBestIndividual(generation, fitness.vec)

Arguments

generation

A list of individual genomes or co-variate sets

fitness.vec

A vector of the fitness values for the input generation

plot.flat

A binary flag (0/1) which indicates whether to print a summary of the fitness of the best individual

Details

Called from within Select()

Examples

1
2
3
\code{\link[GA]{Select}}
\code{\link{glm}}
\code{\link{lm}}

stat243proj/GA documentation built on May 15, 2019, 5:03 a.m.