fit_models: Fit models

View source: R/fit_models.R

fit_modelsR Documentation

Fit models

Description

Fit models

Usage

fit_models(y, time)

Arguments

y

Proportion of the disease. Must be a value between 0 and 1.

time

Measurement time

Value

r Growth rate

y0 Initial inoculum

time Measurement time

pred Predicted data

r2 Determination coefficient between the observed and predicted data

Examples

time <- dap <- seq(10, 60, 10)
y <- inc <- c(0.18, 0.56, 0.82, 0.91, 0.96, 0.98)
fit <- fit_models(y = inc, time = dap)
fit

joaotolentino/phytopathologyr documentation built on Sept. 4, 2022, 1:53 p.m.