optemp | R Documentation |
Utility function for plotting graphs of thermal preferences for crops. It is necessary to inform the temperature values (minimum, average or maximum).
optemp(
VAR,
crop = NULL,
verbose = FALSE,
plot = TRUE,
ylab = "Meteorological Atribute",
xlab = "Days After Sowing"
)
VAR |
The column with air temperature values (minimum, average or maximum). |
crop |
Parameter to define the culture. Use 'soybean' for soybean crop, 'maize' for maize crop and 'trit' for wheat crop. |
verbose |
Logical argument. Runs the code silently if FALSE. |
plot |
Logical argument. Plot a graph of optimal temperatures if TRUE. |
ylab |
The name of the Y axis. |
xlab |
The name of the X axis. |
Returns the parameters of lower basal and optimum temperature, upper basal and optimum temperature, maximum temperature and average temperature.
Willyan Junior Adorian Bandeira
Ivan Ricardo Carvalho
Murilo Vieira Loro
Leonardo Cesar Pradebon
Jose Antonio Gonzalez da Silva
library(EstimateBreed)
data("clima")
clima <- get("clima")[1:150, ]
with(clima,optemp(TMED,crop="soybean"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.