plotevolution.gene {seao}R Documentation

Plot the evolution of the alleles of one gene for an optimization.

Description

Makes a histogram of the evolution of the alleles of one gene. The generations to plot can be chosen.

Usage

  plotevolution.gene(struc.ea,
                     gene=1,
                     gens=NULL,
                     breaks=NULL,
                     main="Gen",
                     cols=NULL,
                     rows=NULL,
                     ...)

Arguments

struc.ea An object of type evoutionary algorithms. This contains the data to be plotted
gene The number of the gene to be plotted.
gens A vector containing the generations to plot. The default value is NULL, giving all generations present in the optimization.
breaks Where the breaks on each plot should be set. See function 'hist' for more information.
main The main title of the plot.
cols The number of columns, i.e. the number of histograms on one row. If set to NULL, argument 'rows' is checked.
rows The number of rows, i.e. the number of histogram in one column. If 'cols' is set, this argument is omitted. Is both 'cols' and 'rows' are set to NULL, there's an automatic calculation of the number of rows and columns.
... Arguments to set for plotting. See plot

Details

Author(s)

Kurt Sys (kurt.sys@rug.ac.be)

References

See Also

Examples






[Package seao version 0.2-1 Index]