compare: compare

Description Usage Arguments

Description

A function to generate summary comparisons of multiple simulations. This is made reasonably flexible by allowing the user to provide a function to extract the information they require from each results object.

Usage

1
2
compare(outFolder, p = NULL, fun = NULL, colNames = NULL,
  paired = FALSE, ...)

Arguments

outFolder

The folder with all the .Rdata files containing results objects

p

(optional) A list of terms which will be found in the results object. This acts as a filter only keeping those results object which match.

fun

A function to generate a row of the summary data.frame. This function should take at least two arguments: object and file.name.

colNames

The column names to use for the /codedata.frame.

paired

Whether simulations are in hypothesis pairs. e.g. 1 is the null hypothesis and 2 is the alternative hypothesis

...

Additional arguments to pass to fun.


finite2/trialSim documentation built on May 16, 2019, 12:54 p.m.