Learn R Programming

nonmemica (version 0.9.1)

modelpath.character: 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.

Usage

# S3 method for 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

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, specfile.character, specfile.numeric, specfile