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