gadgetfleet: Create a gadgetfleet object

Description Usage Arguments Value Examples

View source: R/gadgetfleet.R

Description

Create a fleet file object, from fresh or an existing file.

Usage

1
gadgetfleet(file_name, path, missingOkay = FALSE)

Arguments

file_name

The name of the fleet file

path

The path to the gadget directory to read from

missingOkay

If TRUE, return an empty fleet file object if file does not exist.

Value

A list of fleet components representing file

Examples

1
2
path <- './cod-model'
gadgetfleet('fleet', path, missingOkay = TRUE)  # Read 'fleet' fleet file, creating it if it doesn't exist

bthe/rgadget documentation built on Oct. 21, 2018, 5:16 p.m.