SinMod | R Documentation |
Sine Model of climate time series
SinMod(x, myEx, dC2)
x |
input model x consisting of 4 values, phase, position, amplitude, period |
myEx |
externally defined X-values |
dC2 |
externally defined observations at X |
This is the function used in optimization of sinusoidal fits to climate data.
squared sum of difference between obsereved and predicted
Uses stats package for optimization
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.
optim, proxyA, proxyJK
data(CLAM1)
x = CLAM1$x
y = CLAM1$y
dx = 3.392
A1 = proxyA(x, y, dx)
RMSout = SinMod(A1$par, x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.