dendro.truncate {dendRoAnalyst} | R Documentation |
Truncation of the dendrometer data
Description
This function is helpful to truncate dendrometer data for a user-defined period.
Usage
dendro.truncate(df, CalYear, DOY)
Arguments
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 |
Value
A dataframe with the truncated data for the defined periods.
Examples
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)