getFunctionName: Regression function name getter

View source: R/utils.R

getFunctionNameR Documentation

Regression function name getter

Description

Returns the name of the regression function associated with the model.

Usage

getFunctionName(model)

Arguments

model

the model name.

Value

the string corresponding to the regression function of the model. Warning, this function does not check the existence of the corresponding function.

Examples

getFunctionName("gompertz")
## [1] ".MicrobialGrowth.gompertz"

# Note that this does not verify the existence
getFunctionName("NonExistentFunction")
## [1] ".MicrobialGrowth.NonExistentFunction"

MicrobialGrowth documentation built on April 12, 2025, 1:34 a.m.