dm.fit.gompertz {dendRoAnalyst} | R Documentation |
This function modells the annual growth of dendrometer data using gompertz function.
dm.fit.gompertz(df, CalYear, TreeNum, f_derivative = F)
df |
dataframe with first column containing date and time in the format |
CalYear |
numeric for year of calculation. If df has more than one year, assigning CalYear truncates the data of only that year. |
TreeNum |
numerical value indicating the tree to be analysed. E.g. '1' refers to the first dendrometer data column in df. |
f_derivative |
logical if yes returns first derivative of gompertz curve. |
A dataframe with the modelled dendrometer series.
library(dendRoAnalyst)
data(gf_nepa17)
gomp_fitted<-dm.fit.gompertz(df=gf_nepa17, TreeNum = 1, CalYear=2017)
head(gomp_fitted,10)