getResLst: Create a tcsam02.resLst object from a model run

View source: R/getResLst.R

getResLstR Documentation

Create a tcsam02.resLst object from a model run

Description

Function to create a tcsam02.resLst object from a model run.

Usage

getResLst(
  inp.dir = NULL,
  rep = "tcsam02.rep",
  model = "tcsam02",
  prsType = c("all", "active"),
  verbose = FALSE
)

Arguments

inp.dir
  • a folder with model output

rep
  • filename to read for rep object

model
  • name of model executable

prsType
  • type ('all' or 'active') of parameters to read

verbose
  • flag (T/F) to prnt diagnostic info

Details

Uses tcltk::tk_chose.dir to open a file dialog to select model directory if inp.dir is NULL. A tcsam02.resLst object is a list with elements

  • rep - a tcsam02.rep object, or NULL

  • prs - a tcsam02.prs object, or NULL

  • std - a tcsam02.std object, or NULL

  • ofc - a tcsam02.ofc object, or NULL

Value

a tcsam02.resLst object.


wStockhausen/rTCSAM02 documentation built on Aug. 27, 2024, 7:18 p.m.