xegaObservePopulation {xegaPopulation}R Documentation

Observe summary statistics of the fitness of the population.

Description

xegaObservePopulation() reports summary statistics of the fitness of the population.

Usage

xegaObservePopulation(fit, v = vector())

Arguments

fit

Vector of fitness values of a population.

v

Vector of population statistic vectors.

Details

Population statistics are used for

Value

Vector of population statistics. If position x modulo 8 equals

  1. 1: Mean fitness.

  2. 2: Min fitness.

  3. 3: Lower-hinge (approx. 1st quartile) of fitness.

  4. 4: Median fitness.

  5. 5: Upper-hinge (approx. 3rd quartile) of fitness.

  6. 6: Max fitness.

  7. 7: Variance.

  8. 8: Mean absolute deviation.

See Also

Other Population Layer: xegaBestGeneInPopulation(), xegaBestInPopulation(), xegaEvalPopulation(), xegaInitPopulation(), xegaLogEvalsPopulation(), xegaNextPopulation(), xegaSummaryPopulation()

Examples

pop10<-xegaInitPopulation(10, lFxegaGaGene)
epop10<-xegaEvalPopulation(pop10, lFxegaGaGene)
popStats<-xegaObservePopulation(epop10$fit)
popStats<-xegaObservePopulation(epop10$fit, popStats)
matrix(popStats, ncol=8, byrow=TRUE)


[Package xegaPopulation version 1.0.0.0 Index]