plotData: Plot the results

Description Usage Arguments Value See Also

View source: R/plotData.R

Description

Plot the results

Usage

1
2
plotData(sEnv = NULL, ymax = NULL, add = FALSE,
  addDataFileName = NULL, popID = NULL, suppress = F)

Arguments

sEnv

the environment that BSL functions operate in. Default is "simEnv" so use that to avoid specifying when calling functions

ymax

the maximum value of y-axis (default: the maximun value in the data)

add

if TRUE a new result will be added to an existing plot, using data loaded from addDataFileName. if FALSE a new plot will be drawn (default)

addDataFileName

if not NULL, the name to save the summarized data for the next simulation, like "plot1_1". A path can be specified, like "simDirectory/plot1_1" (in which case "simDirectory" must exist). Default: NULL

popID

list of vectors of the population IDs you want plotted

suppress

if TRUE, this call is just to assemble the data to be plotted in a later call to plotData (default: FALSE)

Value

A matrix with the plot data

See Also

defineSpecies for an example


BreedingSchemeLanguage documentation built on May 2, 2019, 10:17 a.m.