estimateTimserSlopes: estimateTimserSlopes

Description Usage Arguments Value Examples

View source: R/estimateTimserSlopes.R

Description

estimating the slope from a power spectrum of a pair of time series by a linear fit in the frequency range of the inverse half of the length of the overlapping time window of both time series and the inverse twofold maximum mean resolution of both time series

Usage

1
estimateTimserSlopes(timeseries1, timeseries2, int.step)

Arguments

timeseries1, timeseries2

(zoo-object)

int.step

equidistant time step of the interpolated irregular time series

Value

$s1,$s2 fitted slopes of both time series

Examples

1
2
3
timeseries1 <- zoo(rnorm(100), order.by=sort(runif(100,min=1,max=1000)))
timeseries2 <- zoo(rnorm(100), order.by=sort(runif(100,min=1,max=1000)))
estimateTimserSlopes(timeseries1,timeseries2,1)

EarthSystemDiagnostics/corit documentation built on May 29, 2019, 1:39 p.m.