makegrowthObjHossfeld | R Documentation |
Takes a data-frame with at minimum columns size and sizeNext; and fits a Hossfeld type growth function to increment - if length(dataf$incr) is zero, it will calculate dataf$increment as the difference between size and sizeNext; otherwise it will take the column provided
makegrowthObjHossfeld(dataf)
dataf |
a dataframe with columns ‘size’ and ‘sizeNext’(‘size’ is size at t, ‘sizeNext’ is size at t+1); |
Returns a growth object of class growthObjHossfeld for which growth methods exist.
C. Jessica E. Metcalf, Sean M. McMahon, Roberto Salguero-Gomez & Eelke Jongejans
dff <- generateData() gr1 <- makegrowthObjHossfeld(dff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.