Learn R Programming

flexFitR (version 1.2.2)

print.modeler: Print an object of class modeler

Description

Prints information about modeler function.

Usage

# S3 method for modeler
print(x, ...)

Value

an object inheriting from class modeler.

Arguments

x

An object fitted with the function modeler().

...

Options used by the tibble package to format the output. See `tibble::print()` for more details.

Author

Johan Aparicio [aut]

Examples

Run this code
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(1:5)
  )
plot(mod_1, id = c(1:4))
print(mod_1)

Run the code above in your browser using DataLab