Description Usage Arguments Details Value
This is the main function of the model that calls all other functions
(meteorology, shade tree, soil) and computes the Coffea simulation. This function
is called by DynACof()
under the hood, and users should always call
DynACof()
instead of this function because it imports the files,
format the simulation inputs, checks for errors, takes care automatically
of the computation distribution along nodes, and format the outputs.
1 | mainfun(cy, Direction, Meteo, Parameters)
|
cy |
The growing cycle (crop rotation) |
Direction |
Simulation directives as a data.frame |
Meteo |
Meteorology data.frame |
Parameters |
Simulation parameters |
The Direction data.frame
has to contain at least one column
named Cycle that denotes the crop rotation, Plot_Age, an integer for the plot age,
Plot_Age_num for the plot age as a continuous variable (see example).
The simulation output as a data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.