Learn R Programming

MicrobialGrowth (version 1.0.0)

getFunctionName: Regression function name getter

Description

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

Usage

getFunctionName(model)

Value

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

Arguments

model

the model name.

Examples

Run this code
getFunctionName("gompertz")
## [1] ".MicrobialGrowth.gompertz"

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

Run the code above in your browser using DataLab