Description Usage Arguments Value Examples
Imports parameters from one or several MACRO parameter-file(s)
1 2 3 4 5 | rmacroliteImportParFile(file, climate = TRUE, verbose = 1L, ...)
## Default S3 method:
rmacroliteImportParFile(file, climate = TRUE,
verbose = 1L, ...)
|
file |
Single character string or vector of character strings.
Name(s) of the MACRO In FOCUS parameter file(s) (par-file)
to be imported. The file(s) should be located in the same
folder as the MACRO In FOCUS executable
(see Notice that R file separator is a slash ( |
climate |
Single logical value. If |
verbose |
Single integer value. If set to a value |
... |
Additional parameters passed to |
Returns a 'macroParFile' object
1 2 3 4 5 6 7 8 9 10 11 12 13 | library( "rmacrolite" )
# Path to an example par-file
par_file_path <- system.file( "par-files",
"chat_winCer_GW-X_900gHa_d182.par",
package = "rmacrolite" )
# Import the example par-file
par_file <- rmacroliteImportParFile(
file = par_file_path )
# Clean-up
rm( par_file_path, par_file )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.