make.plot: Make a plot from a list of data frames

Description Usage Arguments

View source: R/plots.R

Description

make.plot groups together nscens_group scenarios and plot them as facets of the same plot. If multiple groups are processed, it is possible to indicate the sequential number of the group so that the next lot of scenarios is process. For example, if there are 20 scenarios and the user wants 4 groups, setting nscens_group=5 and passing iteratively ngroup=1:4, the scenarios 1 to 5 will be processed first, then 6 to 10, then 11 to 15 and lastly 16 to 20.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
make.plot(
  ngroup,
  path.results,
  nscens_group,
  means,
  sds,
  traits,
  scenarios,
  ncensus,
  rm.T0
)

Arguments

ngroup

The group number being processed

path.results

The path to the 'Results' folder

nscens_group

The number of scenarios within one group

means

A list of data frames containing the mean values

sds

A list of data frames containing the standard deviation values

traits

A character vector with the name of the traits to be included

scenarios

A character vector with the scenarios' names

ncensus

The number of the census to be considered

rm.T0

Whether to remove the first row of data. Relevant when it is Time Step '0' (default=TRUE)


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.