read.MFCLPar | R Documentation |
Read information from the par file.
read.MFCLPar(parfile, first.yr = NA)
parfile |
A character string giving the name and path of the frq file to be read. |
first.yr |
The first year of the input data time series (default value NA). |
The first.yr
argument is ignored when reading par files from MFCL
version 2.2.2.0 (2023-07-07) and later, since the correct first year is now
embedded in the par file.
For older par files that do not contain the first year, the user is required
to pass an appropriate value as first.yr
. The firstYear
function can be helpful when working with old model runs.
An object of class MFCLPar
.
read.MFCLFlags
, firstYear
.
## Not run:
read.MFCLPar("yft/2020/11.par", first.yr=1952) # old MFCL, must specify year
read.MFCLPar("yft/2023/11.par") # new MFCL, automatic year
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.