import_constraints: Import Scenario Constraints

Description Usage Arguments Details Value Author(s) Examples

View source: R/import_constraints.R

Description

This function creates a matrix containing the constraints needed for the computation of management scenarios.

Usage

1

Arguments

path

A character string specifying the path to the folder containing the text file containing the constraints.

Details

To run import_constraints efficiently, the constraints must be stored in a text file (“constraints.txt”). By default (path=NULL), the function imports the constraints stored in the “extdata” folder of the package.

Value

Returns a matrix. The matrix is a constraints object containing the amount of time (in years) that one has to wait to perform a new management practice (column) when another management (row) was already performed at a site.

Author(s)

Benjamin M. Delory

Examples

1
constraints<-import_constraints()

BenjaminDelory/heathland documentation built on May 4, 2019, 3:11 a.m.