powered by
Returns the name of the model used.
getModelName(x)
the name of the model used.
a MicrobialGrowth-object
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.
g <- MicrobialGrowth(example_data$time, example_data$y1, model="gompertz") getModelName(g) ## [1] "gompertz"
Run the code above in your browser using DataLab