getModelName {MicrobialGrowth}R 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"

[Package MicrobialGrowth version 1.0.0 Index]