plotExpSim: Plot Expected And Simulated Values

Description Usage Arguments Value

Description

This function will take two data.frames, a simulated and an expected data.frame, and plots the points over top of each other to visualize just how closely they match.

Usage

1
2
plotExpSim(expDf, simDf, charactername, means = F, filename = "",
  exec = F, exportSimDf = F, subplotid = 0)

Arguments

expDf

This is a data.frame of expected results for a plot. Must contain a "Step" column (x-axis), a "Species" column (color factor), and a value column that has the name of the "charactername" parameter.

simDf

This is a data.frame of simulated results for a plot. Must contain a "Step" column (x-axis), a "Species" column (color factor), and a value column that has the name of the "charactername" parameter.

charactername

The name of the column to plot on the y-axis.

means

Currently set to false (default). If TRUE, function will plot means of simulated values instead of all values in simDf.

filename

The filename to write this plot to. Include path if necessary.

exec

If exec is TRUE, then the program will write the plot image to file.

exportSimDf

If exportSimDf is TRUE, then the function will return a data.frame of the simDf. This is most often used when means=T, and the function returns the means of simDf.

Value

This function


ecology-rocks/SortieIO documentation built on May 15, 2019, 7:57 p.m.