c.modeler | R Documentation |
modeler
Combine objects of class modeler
. Use with caution, some
functions might not work as expected.
## S3 method for class 'modeler'
c(...)
... |
Objects of class |
A modeler
object.
Johan Aparicio [aut]
library(flexFitR)
data(dt_potato)
mod_1 <- dt_potato |>
modeler(
x = DAP,
y = Canopy,
grp = Plot,
fn = "fn_logistic",
parameters = c(a = 0.199, t0 = 47.7, k = 100),
subset = 1:2
)
mod_2 <- dt_potato |>
modeler(
x = DAP,
y = Canopy,
grp = Plot,
fn = "fn_lin_plat",
parameters = c(t1 = 45, t2 = 80, k = 100),
subset = 1:2
)
mod <- c(mod_1, mod_2)
print(mod)
plot(mod, id = 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.