Estimate optimal window size for seasonal time
series analysis.
Usage
windowsize(x, y, winmin, winmax, winstep)
Value
win
optimum window length
error
error for win
Arguments
x
original x values from file
y
original y values from file
winmin
Minimum window size
winmax
Maximum window size
winstep
step size
Author
Jonathan M. Lees<jonathan.lees@unc.edu>
References
Wang, T., Surge, D., and Lees, J. M., (2015) ClamR: A Statistical Evaluation of Isotopic and Temperature Records in Sclerochronologic Studies. Palaeogeography, Palaeoclimatology, Palaeoecology, doi:10.1016/j.palaeo.2015.07.008.