Learn R Programming

ClamR (version 2.1-3)

SinMod: Sine Model of climate time series

Description

Sine Model of climate time series

Usage

SinMod(x, myEx, dC2)

Value

squared sum of difference between obsereved and predicted

Arguments

x

input model x consisting of 4 values, phase, position, amplitude, period

myEx

externally defined X-values

dC2

externally defined observations at X

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

This is the function used in optimization of sinusoidal fits to climate data.

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

Run this code
data(CLAM1)
x = CLAM1$x
y = CLAM1$y
 dx = 3.392

A1 = proxyA(x, y, dx)

RMSout = SinMod(A1$par, x, y)

Run the code above in your browser using DataLab