ErrDiff2TimeSlices: Estimate the error on the difference between two time-slices

View source: R/timeslice-error.R

ErrDiff2TimeSlicesR Documentation

Estimate the error on the difference between two time-slices

Description

Estimate the error on the difference between two time-slices

Usage

ErrDiff2TimeSlices(pes, tau_1, tau_2, delta_ts)

Arguments

pes

Object of class proxy.error.spec, e.g. output from ProxyErrorSpectrum

tau_1

Length of first timeslice

tau_2

Length of second timeslice

delta_ts

Time interval between centres of the two timeslices

Value

a dataframe

Examples

spec.pars <- psem::GetSpecPars("Mg_Ca", T = 1e04+100, delta_t = 100,
tau_r = 100, sig.sq_a = 0.1,
seas.amp = 6, N = 10,
tau_p = 4/12,
phi_c = 0,
phi_a = pi/2, sigma.cal = 0.3)
spec.obj <- do.call(psem::ProxyErrorSpectrum, spec.pars)

ErrDiff2TimeSlices(spec.obj, 1100, 1100, 13*spec.pars$delta_t)

EarthSystemDiagnostics/psem documentation built on March 3, 2024, 10:24 p.m.