firstYear: First Year

View source: R/final.R

firstYearR Documentation

First Year

Description

Read the first year in the model from the ⁠.rep⁠ file.

Usage

firstYear(folder)

Arguments

folder

is a folder containing at least one ⁠.rep⁠ file.

Value

First year as an integer.

Note

Can be useful to find a suitable first.yr argument for read.MFCLPar.

See Also

read.MFCLPar.

Examples

## Not run: 
first.yr <- firstYear("modelrun")
parfile <- finalPar("modelrun")
par <- read.MFCLPar(parfile, first.yr)

## End(Not run)


robscott3/FLR4MFCL documentation built on April 9, 2024, 3:31 p.m.