Learn R Programming

selection.index (version 2.0.0)

plot.selection_simulation: Plot Method for Selection Simulation Results

Description

Plot Method for Selection Simulation Results

Usage

# S3 method for selection_simulation
plot(x, trait_index = 1, type = c("mean", "gain"), ...)

Arguments

x

Object of class selection_simulation

trait_index

Which trait to plot (default: 1)

type

Type of plot: "mean" for mean genetic value, "gain" for genetic gain per cycle

...

Additional arguments passed to plot