Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gen_dr

Generate a Drift Process


Description

Simulates a Drift Process with a given slope, ω.

Usage

gen_dr(N, omega = 5)

Arguments

N

An integer for signal length.

omega

A double that contains drift slope

Value

A vec containing the drift.

Process Definition

Drift with parameter omega in Omega where Omega is in R^+ or R^-. This process is defined as: X[t] = omega*t and is occasionally referred to as Rate Ramp.

Generation Algorithm

To generate the Drift process, we first fill a vector with the omega parameter. After, we take the cumulative sum along the vector.


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.