fvsRun: run FVS program

View source: R/fvsRun.R

fvsRunR Documentation

run FVS program

Description

Run FVS program

Usage

fvsRun(stopPointCode = NA, stopPointYear = NA)

Arguments

stopPointCode

The value of the next stop point, see Stop Points for a list of valid codes.

stopPointYear

The simulation year the stop point is requested. Code -1 to signal the that the stop point should be immediate.

Value

A return code from FVS, see Return code state. If the return code is zero, then it is often very useful to use fvsGetRestartcode() to fetch the restart code that resulted in FVS returning. When fvsRun() is called again, it will continue processing where it left off. Repeating the call to fvsRun() until it is non-zero is how to create a simple simulation.


SilviaTerra/rFVS documentation built on March 25, 2023, 3:59 a.m.