.delta_method_gen | R Documentation |
Delta method generic function
.delta_method_gen(fit, formula)
fit |
A fit object which is located inside a modeler object |
formula |
A formula specifying a function of the parameters to be estimated (e.g., |
A data.frame of the evaluated formula.
library(flexFitR)
data(dt_potato)
mod_1 <- dt_potato |>
modeler(
x = DAP,
y = Canopy,
grp = Plot,
fn = "fn_lin_plat",
parameters = c(t1 = 45, t2 = 80, k = 0.9),
subset = c(15, 2, 45)
)
print(mod_1)
# Function of the parameters
predict(mod_1, formula = ~ t2 - t1, id = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.