dendro.truncate {dendRoAnalyst} | R Documentation |
This function is helpful to truncate dendrometer data for a user-defined period.
dendro.truncate(df, CalYear, DOY)
df |
dataframe with the first column named date and time in the format |
CalYear |
numerical value or array of two elements for the desired year of calculation. |
DOY |
numerical value or array of two elements representing the day of year. If we provide an array instead of a single value for |
A dataframe with the truncated data for the defined periods.
library(dendRoAnalyst)
data(nepa)
#Extracting data from doy 20 to 50 in 2017.
trunc1<-dendro.truncate(df=nepa, CalYear=2017, DOY=c(20,50))
head(trunc1,10)