Learn R Programming

MicrobialGrowth (version 1.0.0)

getModelName: Model name getter

Description

Returns the name of the model used.

Usage

getModelName(x)

Value

the name of the model used.

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.

Examples

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

Run the code above in your browser using DataLab