modelname: Get and set modelname

Description Usage Arguments Value

View source: R/classes.R

Description

The modelname attribute refers to the name of a C file associated with a dMod function object like prediction-, parameter transformation- or objective functions.

Usage

1
2
3
4
5
6
7
8
9
modelname(..., conditions = NULL)

modelname(x, ...) <- value

## S3 replacement method for class 'fn'
modelname(x, conditions = NULL, ...) <- value

## S3 replacement method for class 'objfn'
modelname(x, conditions = NULL, ...) <- value

Arguments

...

objects of type prdfn, parfn, objfn

conditions

character vector of conditions

x

dMod object for which the model name should be set

value

character, the new modelname (does not change the C file)

Value

character vector of model names, corresponding to C files in the local directory.


dMod documentation built on Jan. 27, 2021, 1:07 a.m.