finalPar: Final Par File

View source: R/final.R

finalParR Documentation

Final Par File

Description

Find the final par file in a model run directory.

Usage

finalPar(folder, pattern = "^[0-9][0-9]\\.par$", full = TRUE, quiet = TRUE)

Arguments

folder

model run directory name.

pattern

pattern describing par filenames. The default pattern is two digits, followed by .par.

full

whether to return the par filename with the full path.

quiet

whether to suppress the on-screen reporting of the final par file found.

Value

The final par filename as a string.

Note

If a folder contains 00.par, 01.par, ..., 14.par, then the final par file is 14.par.

See Also

finalRep finds the final rep file.

Examples

## Not run: 
finalPar("modelrun")

## End(Not run)


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