confint.modeler | R Documentation |
Extract confidence intervals for the estimated parameters of an
object of class modeler
.
## S3 method for class 'modeler'
confint(object, parm = NULL, level = 0.95, id = NULL, ...)
object |
An object of class |
parm |
A character vector specifying which parameters should have
confidence intervals calculated. If |
level |
A numeric value indicating the confidence level for the intervals. Default is 0.95, corresponding to a 95% confidence interval. |
id |
An optional unique identifier to filter by a specific group.
Default is |
... |
Additional parameters for future functionality. |
A tibble
containing the lower and upper confidence limits for
each specified parameter.
Johan Aparicio [aut]
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, 35, 45)
)
print(mod_1)
confint(mod_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.