Description Usage Arguments Details Value Examples
This function will run one or many APSIM simulations and read the output into R in the form of a list of data frames. If the simulation does not run for some reason then an error is returned.
1 |
exe |
path to the APSIM executable |
wd |
working directory containing the .apsim files to be run; defaults to the current working directory |
files |
.apsim files to be run; if left empty all .apsim files in |
The only required input is the path to the APSIM executable (APSIM.exe) usually found in the "Model"
subfolder of the APSIM installation. By default, it is assumed the current working directory contains the .apsim file(s)
to be run. If that is not the case then the directory containing the .apsim file(s) to be run
should be specified by the wd
argument. One can specify a list of .apsim files to be run within the
directory wd
using the files
argument. If the files
argument is left blank then all
.apsim files within the directory specified by wd
are run.
The results for each .apsim file is saved as a data frame which are complied into a list.
Each element of the list is of the class "apsim"
, which has its own print
and plot
routines.
list of output files; each element of the list corresponds to an output file specified by the .apsim files executed
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.