getModelName: Model name getter

View source: R/utils.R

getModelNameR Documentation

Model name getter

Description

Returns the name of the model used.

Usage

getModelName(x)

Arguments

x

a MicrobialGrowth-object

Details

scans the classes of the object which must correspond on the one hand to the generic class "MicrobialGrowth" and on the other hand to the class-model. It is this second that is returned.

Value

the name of the model used.

Examples

g <- MicrobialGrowth(example_data$time, example_data$y1, model="gompertz")
getModelName(g)
## [1] "gompertz"

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