powered by
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" )
Returns the parameters of lower basal and optimum temperature, upper basal and optimum temperature, maximum temperature and average temperature.
The column with air temperature values (minimum, average or maximum).
Parameter to define the culture. Use 'soybean' for soybean crop, 'maize' for maize crop and 'trit' for wheat crop.
Logical argument. Runs the code silently if FALSE.
Logical argument. Plot a graph of optimal temperatures if TRUE.
The name of the Y axis.
The name of the X axis.
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"))
Run the code above in your browser using DataLab