modelpath.character: Resolve A Path to a Model-related File for Character

View source: R/path.R

modelpath.characterR Documentation

Resolve A Path to a Model-related File for Character

Description

Resolves a path to a model-related file, treating x as a model name. By default (ext is NULL) the run directory is returned. As of version 0.9.2, nested can be a function of ext and ... That returns logical.

Usage

## S3 method for class 'character'
modelpath(
  x,
  ext = NULL,
  project = getOption("project", getwd()),
  nested = getOption("nested", TRUE),
  ...
)

Arguments

x

object

ext

file extension, no leading dot

project

project directory (can be expression)

nested

whether model files are nested in eponymous directories

...

passed arguments

Value

character

See Also

Other path: datafile.character(), datafile.numeric(), datafile(), modeldir(), modelfile(), modelpath.numeric(), modelpath(), psn_options(), specfile.character(), specfile.numeric(), specfile()


bergsmat/nonmemica documentation built on Sept. 15, 2023, 9:22 a.m.