windowsize {ClamR}R Documentation

Find Window Size

Description

Estimate optimal window size for seasonal time series analysis.

Usage

windowsize(x, y, winmin, winmax, winstep)

Arguments

x

original x values from file

y

original y values from file

winmin

Minimum window size

winmax

Maximum window size

winstep

step size

Value

win

optimum window length

error

error for win

Author(s)

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.

Examples

## 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)



[Package ClamR version 2.1-1 Index]