batchOutFiles: Process Batch Out Files For Sortie

Description Usage Arguments Value

Description

This is a function to process batches of .out files generated by SORTIE-ND's summary output. It loops through a list of filenames given and produces a single data.frame as output. This function relies on getOutFile and parseOutFile.

Usage

1
2
batchOutFiles(namepattern = "", sdir = ".", yearoffset = 0,
  numsubplots = 1)

Arguments

namepattern

A character string that matches the unique part of your batch files. E.g., if all files in a particular batch had "monkey" in them, this function would search any file in that directory with the string "monkey" inside of it.

sdir

The path to the directory to search. Default is ".", representing your current working directory.

yearoffset

The amount to subtract from the "step" variable to account for intial plot loading.

Value

This function returns a data.frame of cleaned and merged files. Any personally identifying information will be lost (e.g., filename).


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