Learn R Programming

ChillModels (version 1.0.2)

landsberg_model: Landsberg Model

Description

Quantifies the chill accumulation based in the base temperature.

Usage

landsberg_model(x, total = TRUE)

Arguments

x

Vector containing temperature values (Celsius-degree).

total

TRUE Shows the total value of accumulation, FALSE shows the value of chill-unit for each temperature (TRUE is default).

Value

The function returns values the chill for each temperature of vector (Total = FALSE), or returns the chill accumulation (Total = TRUE).

Details

The model is based on the subtraction of the base temperature of each hourly temperature. The temperature of the base is 5<U+00B0>C.

References

LANDSBERG J. J. (1974). Apple Fruit Bud Development and Growth; Analysis and an Empirical Model. Annals of Botany.

Examples

Run this code
# NOT RUN {
x <- rnorm(500, 8, 5)
landsberg_model(x)
landsberg_model(x, FALSE)

# }

Run the code above in your browser using DataLab