Modelling seasonal dynamics of secondary growth in R