rwalcSurrogate: Surrogate tracks by phase randomization.

View source: R/RWalc.R

rwalcSurrogateR Documentation

Surrogate tracks by phase randomization.

Description

Generate a surrogate track from a template track by phase randomization.

Usage

rwalcSurrogate(data)

Arguments

data

A dataframe representing the template track.

Details

Given a template track generate a new track of the same length that coincides with the fitted track at the start and end point of each segment.

Tracks are generated in the plane, and there are no facilities for placing additional constraints on the track.

Value

Returns a dataframe representing the surrogate track with columns: - 'segment': track segment - 'date': time (as GMT POSIXct) - 'x': x coordinate - 'y': y coordinate

References

Kantz, H., & Schreiber, T. (2004). Nonlinear time series analysis. Cambridge university press.


SWotherspoon/RWalc documentation built on June 10, 2025, 6:46 a.m.