createSyntheticTimeseries: Create a synthetic timeseries that emulates the...

View source: R/power.spectra.ens.R

createSyntheticTimeseriesR Documentation

Create a synthetic timeseries that emulates the characteristics of a timeseries

Description

create synthetic timeseries based on a timeseries. Useful for null hypothesis testing

Usage

createSyntheticTimeseries(
  time,
  values,
  n.ens = 1,
  sameTrend = TRUE,
  index.to.model = NA
)

Arguments

time

LiPD "variable list" or vector of year/age values

values

LiPD "variable list" or vector of values

n.ens

Number of ensemble members to simulate

sameTrend

should the synthetic data have the same first-order trend as the original? (default = TRUE)

index.to.model

an optional index of values to model (default = NA, the whole series)

Value

a vector or matrix of synthetic values

See Also

Other spectra: ar1Surrogates(), computeSpectraEns(), periodAnnotate(), plotSpectrum(), reverselog10_trans()

Other pca: ar1Surrogates(), pcaEns(), plotPcaEns(), plotScreeEns()


nickmckay/GeoChronR documentation built on April 9, 2024, 5:26 a.m.