# Use processed existing data set from kent Town, Adelaide
data("processeddata")
data("constants")
# Set data class to be "Truc" to call function
funname <- "Truc"
class(data) <- funname
# Call generic function Evapotranspiration(data, ...) with class "Truc"
results <- Evapotranspiration(data, constants, solar="sunshine hours", humid = TRUE)Run the code above in your browser using DataLab