windowsize | R Documentation |
Estimate optimal window size for seasonal time series analysis.
windowsize(x, y, winmin, winmax, winstep)
x |
original x values from file |
y |
original y values from file |
winmin |
Minimum window size |
winmax |
Maximum window size |
winstep |
step size |
win |
optimum window length |
error |
error for win |
Jonathan M. Lees<jonathan.lees@unc.edu>
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.
## Not run:
data(CLAM1)
shellx=CLAM1$x[38:70]
shelly=CLAM1$y[38:70]
window_shell=windowsize(shellx,shelly,1.8,9.4,0.2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.