make_aggfiles: Make aggregation files for Gadget printfile components that...

Description Usage Arguments Value Examples

Description

Make aggregation files for Gadget printfile components that require them

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

## Default S3 method:
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

## S3 method for class 'stock_std'
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

## S3 method for class 'stock_full'
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

## S3 method for class 'stock_prey'
make_aggfiles(printfile_comp, aggfile_dir, print = NULL)

## S3 method for class 'likelihood'
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

## S3 method for class 'likelihood_summary'
make_aggfiles(printfile_comp, aggfile_dir,
  path = NULL)

## S3 method for class 'stock'
make_aggfiles(printfile_comp, aggfile_dir, path = NULL)

make_aggfile.predator(printfile_comp, aggfile_dir, path = NULL)

make_aggfile.predator_over(printfile_comp, aggfile_dir, path = NULL)

make_aggfile.prey_over(printfile_comp, aggfile_dir, print = NULL)

## S3 method for class 'stock_prey'
make_aggfiles(printfile_comp, aggfile_dir, print = NULL)

## S3 method for class 'predator_prey'
make_aggfiles(printfile_comp, aggfile_dir,
  print = NULL)

Arguments

printfile_comp

A list of class pertaining to a Gadget printfile component, see update_printfile

aggfile_dir

Character. Path of the directory where aggfiles will be printed

path

Character. Path of the Gadget model

Value

A list the same class as printfile_comp, but updated with the appropriate aggregate files as attributes

Examples

1
2
3
cod <- list(stocknames = "cod")
cod <- update_printfile(stock, cod)
cod <- make_aggfiles(cod, aggfile_dir = "print.aggfiles", path = gad_mod_dir)

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