baseline2ECA: Prepare data from a project to the ECA model

Description Usage Arguments Value Examples

Description

This function reads data from a baseline run and converts to a list of data used by the ECA model in the Reca package.

Usage

1
2
3
baseline2eca(projectName, biotic = "BioticCovData",
  landing = "LandingCovData", temporal = NULL, gearfactor = NULL,
  spatial = NULL)

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline, og a project object (as returned from openProject).

biotic

The process from which the biotic data are extracted, conventionally the BioticCovData process.

landing

The process from which the landing data are extracted, conventionally the LandingCovData process.

temporal

Optional definition of the temporal covariate (not yet implemented).

gearfactor

Optional definition of the gearfactor covariate (not yet implemented).

spatial

Optional definition of the spatial covariate (not yet implemented).

Value

A reference to the StoX Java baseline object

Examples

1
2
3
4
5
system.time(eca <- baseline2eca("Test_Rstox"))
# Show the covariate definitions:
eca$resources
# Show the eca object:
str(eca)

Sea2Data/Rstox documentation built on April 18, 2018, 11:11 p.m.