# NOT RUN {
# format dataset with physiodata
malva <- physiodata(subset(centaury, population == "La Malva"), x = "temperature")
# huidobro() uses the $proportions element within the physiodata object
h <- huidobro(malva$proportions)
h # prints the main thermal time variables
summary(h) # returns the main thermal time variables as a data.table
plot(h) # plots the fitted model
# }
Run the code above in your browser using DataLab