SinMod {ClamR} | R Documentation |
Sine Model of climate time series
Description
Sine Model of climate time series
Usage
SinMod(x, myEx, dC2)
Arguments
x |
input model x consisting of 4 values, phase, position, amplitude, period |
myEx |
externally defined X-values |
dC2 |
externally defined observations at X |
Details
This is the function used in optimization of sinusoidal fits to climate data.
Value
squared sum of difference between obsereved and predicted
Note
Uses stats package for optimization
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.
See Also
optim, proxyA, proxyJK
Examples
data(CLAM1)
x = CLAM1$x
y = CLAM1$y
dx = 3.392
A1 = proxyA(x, y, dx)
RMSout = SinMod(A1$par, x, y)
[Package ClamR version 2.1-3 Index]