read_gadget_aux_files: Read auxiliary Gadget files (i.e. data files, aggfiles,...

Description Usage Arguments Value Examples

Description

This suite of functions are specific to types of Gadget auxiliary stockfiles, with special attention paid to the various auxiliary stockfiles such as refweightfile, initial condition and renewal data distribution files, spawnfile, etc. These functions are for use in check_stockfile

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Arguments

file

Character. The name of the file to be read

path

Optional. Character vector of path to the directory where Gadget files are located

Value

Typically a list with the elements specific to what is needed for each type of auxiliary file. Aggfiles and data files will often return a data.frame

Examples

1
2
gad_data <- read_gadget_refweightfile("Modelfiles/cod.refweightfile",
                                      path = gad_mod_dir)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.