is.gompertz {MicrobialGrowth} | R Documentation |
Gompertz class
Description
Test if a variable or variable list is/are gompertz-object(s).
Usage
is.gompertz(x)
Arguments
x |
variable or list. |
Value
TRUE
if the object or all objects are of class gompertz
.
Examples
# TRUE return
g1 <- MicrobialGrowth(example_data$time, example_data$y1)
g2 <- MicrobialGrowth.create(N0 = 0.14, Nmax = 1.43, mu = 0.07, lambda = 45,
xlim = c(0, 100), model="gompertz")
is.gompertz(g1)
is.gompertz(g2)
is.gompertz(c(g1, g2))
is.gompertz(list(g1,g2))
# FALSE return
is.gompertz(1)
is.gompertz(list())
is.gompertz(c(g1, g2, 1))
is.gompertz(list(g1, g2, 1))
[Package MicrobialGrowth version 1.0.0 Index]