View source: R/fvsAddActivity.R
fvsAddActivity | R Documentation |
Add an an FVS Activity to the activity schedule.
fvsAddActivity(year, activity, parms = NULL)
year |
Year the activity is scheduled to be accomplished |
activity |
Can be either an FVS activity code (which is a number recognized by the FVS activity processing code) or a character string corresponding the FVS keyword used to schedule the activity. If a keyword is specified, this function translates it to the necessary numeric code. Not all of the possible keyword/code pairs are programmed, but those that control the harvesting logic plus the establishment model PLANT and NATURAL keywords |
parms |
Numeric vector of parameters (if any are needed) associated with the keyword. These must be in order and have values FVS can use. Error checking is not done as is the case when keywords are entered into FVS via the keyword file. |
An integer flag with the value 0 if the activity was added and 1 if there was some error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.