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