Hello, I'm having problems trying to truncate the timespan of the correlation analysis when I'm using dcc function on treeclim package.
rpb.dcc<dcc(rpb.crn,precip,selection=.range("precip",-6:12),method="correlation",dynamic="moving",win_size=25,win_offset=5,start_last=TRUE,timespan=NULL,var_names="precip",ci=0.05,boot="stationary",sb=TRUE)
Both of my data start in 1902-2016 but I would like to truncate both in 1939-2016. When I type ...,timespan=(1939:2016)...
R doesn't recognize the time interval. Can anyone help me with that?