compile_results: Compile results and generate graphs for one species.

Description Usage Arguments Value See Also

View source: R/MICE_results.R

Description

Creates graphs by taking X and Y series from slots in a Species object, and combines some of those data into a data frame that is returned with the plots. Reads instructions from the plotlist.csv file to decide which plots and series to produce (there are different sets of plots for prey and predators). Note that since a dataframe cannot be a ragged array, the number of rows in the data frame that is returned by the function is either nYears or nTimes, but certain items (catch, recruits) are *plotted* by year, even when the species is tracked by timestep.

Usage

1
compile_results(species, plot_master, nYears, nSteps, preynames)

Arguments

species

A Species object

nYears

Number of years in the simulation.

nSteps

Number of timesteps per year (ignored for some species)

slotlist

A list of slots, from which graphs are to be made.

Value

A list with the values of certain vectors assembled into a data frame, and a list of plots.

See Also

Other results: calc_predicted, get_every_nth, makeplot, plot_fitted_multipanel, plot_fitted, plot_function_only, plot_summed_by_year


jcpayne/mice-models documentation built on May 18, 2019, 10:25 p.m.