finalRep: Final Rep File

View source: R/final.R

finalRepR Documentation

Final Rep File

Description

Find the final rep file in a model run directory.

Usage

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

Arguments

folder

model run directory name.

pattern

pattern describing rep filenames. The default pattern is plot- and two digits, followed by .rep.

full

whether to return the rep filename with the full path.

quiet

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

Value

The final rep filename as a string.

Note

If a folder contains plot-09.par.rep, plot-10.par.rep, ..., plot-14.par.rep, then the final rep file is plot-14.par.rep.

See Also

finalPar finds the final par file.

Examples

## Not run: 
finalRep("modelrun")

## End(Not run)


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