retrieveOutput: Retrieve Output

Description Usage Arguments Value Examples

View source: R/MGDrivE-Auxiliary.R

Description

Read in output from directory. The resulting object will be a nested list; outermost nesting dimension indexes runID, within runID elements are split by sex and innermost nesting is over patches.

Usage

1
retrieveOutput(readDir, verbose = TRUE)

Arguments

readDir

Directory where output was written to; must not end in path separator

verbose

Chatty? Default is TRUE

Value

Nested List

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Example assumes user has run and analyzed MGDrivE.
#  See vignette for examples of how to do that.

# set read directory
fPath <- "path/to/split/aggregated/output"

# read in data as nested lists
dataList <- retrieveOutput(readDir = fPath)

## End(Not run)

MGDrivE documentation built on Oct. 23, 2020, 7:28 p.m.