GenNullHypPair: GenNullHypPair

Description Usage Arguments Value Examples

View source: R/GenNullHypPair.R

Description

generating a pair of subsampled power-law time series

Usage

1
GenNullHypPair(n, beta.noise1, beta.noise2, time1, time2, detr)

Arguments

n

length of the power-law time series which have to be generated

beta.noise1, beta.noise2

slopes from the power spectrum of the time series to be generated

time1, time2

time points at which the simulated power-law has to be subsampled

detr

TRUE for removing a linear trend, else FALSE

Value

zoo-objects of the time series

Examples

1
time.series <- GenNullHypPair(1000, 0.5, 0.4, sort(runif(100, min=1, max=1000)), sort(runif(100, min=1, max=1000)), FALSE)

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