gadget.skeleton: Gadget skeleton

Description Usage Arguments Details Value Author(s) Examples

View source: R/gadgetoptions.R

Description

Build gadget model object based on simple lists

Usage

1
gadget.skeleton(time, area, stocks, fleets = NULL)

Arguments

time

list describing the time step of the model

area

list describing the spatial grid of the model

stocks

list describing the stocks of the model

fleets

list describing the fleets

Details

Gadget skeleton, as the names suggests, creates a gadget-main object, as S4 class, that can be used to create model input files or drive the simple Gadget-like simulator implemented in gadget.simulate

Value

gadget-model class

Author(s)

Bjarki Þór Elvarsson

Examples

1
2
3
opt <- gadget.options()
gm <- gadget.skeleton(time=opt$time,area=opt$area,
                      stocks=opt$stocks,fleets=opt$fleets)

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