plot_fitness_trajectory: Plot a diagnositc display of the fitness trajectory

Description Usage Arguments Value Author(s) See Also Examples

Description

Plots a diagnositc display of the fitness trajectory from the genetic algorithm run by goelz_optim or nelder_biculture_optim.

Usage

1

Arguments

data

An object of class 'goelz-optim' created via goelz_optim or 'nelder-optim' created via nelder_biculture_optim.

plot

If TRUE, the default, a ggplot object is returned. If FALSE, the data that would create the plot is returned.

Value

If plot = TRUE, returns a ggplot object, otherwise the data that would create the plot is returned.

Author(s)

Kevin J Wolz, kevin@savannainstitute.org

See Also

Other plot functions: plot_goelz(), plot_nelder_biculture_competition(), plot_nelder()

Examples

1
2
3
4
dat <- nelder()
dat.bi <- nelder_biculture(data = dat)
dat.bi.optim <- nelder_biculture_optimr(data = dat.bi)
plot_fitness_trajectory(data = dat.bi.optim)

kevinwolz/sysdesign documentation built on June 13, 2020, 1:35 a.m.