clim.twd | R Documentation |
This function calculates the number and the location of climatically adverse periods within a climate time series. The user can define a duration and threshold of these conditions. The function also provides the relative radial/circumferencial change during each adverse period for the original or normalized data. See Raffelsbauer et al., (2019) for more details.
clim.twd( df, Clim, dailyValue = "max", thresholdClim = 0, thresholdDays = 2, norm = F, showPlot )
df |
dataframe with first column containing date and time in the format |
Clim |
dataframe with the first column containing |
dailyValue |
either 'max', 'min', or 'mean' for selecting the daily resampled value. Default is 'max'. See |
thresholdClim |
numeric, the theshold for the respective climatic parameter. E.g. if climatic data is precipitation then days, where precipitation is below or equal to this value, are considered as adverse climate. Dafault is 0. |
thresholdDays |
numeric, the minimum number of consecutive adverse days to be considered for analysis. For example, |
norm |
logical, if |
showPlot |
logical, if |
A dataframe containing the respective periods, relative radial/circumference change for each tree, the ID for each period and their beginning and end.
Raffelsbauer V, Spannl S, Peña K, Pucha-Cofrep D, Steppe K, Bräuning A (2019) Tree Circumference Changes and Species-Specific Growth Recovery After Extreme Dry Events in a Montane Rainforest in Southern Ecuador. Front Plant Sci 10:342. doi: 10.3389/fpls.2019.00342
library(dendRoAnalyst) data(gf_nepa17) data(ktm_rain17) relative_dry_growth<-clim.twd(df=gf_nepa17, Clim=ktm_rain17, dailyValue='max', showPlot=TRUE) 1 head(relative_dry_growth,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.