transform_kendall_rw: Transforming (scaling and shifting) Kendall random walks

Description Usage Arguments Value Examples

View source: R/simulations_kendall_rw.R

Description

If one trajectory has length n, an_seq and bn_seq arguments should be sequnces of length n. Object returned by this function has plot and print methods.

Usage

1
transform_kendall_rw(simulations, an_seq = 1, bn_seq = 0)

Arguments

simulations

tibble returned by simulation function

an_seq

sequence that the trajectories will be multiplied by

bn_seq

sequence that will be substracted from scaled trajectory

Value

List like in simulate_kendall_rw function after transforming trajectories.

Examples

1
2
3
4
5
kendall_simulations <- simulate_kendall_rw(10, 1000, runif, 0.5)
scaled_kendall <- transform_kendall_rw(kendall_simulations, (1:1000)^(-2))
scaled_kendall # kendall random walked scaled by the sequence n^(-1/alpha)
scaled_data <- scaled_kendall$simulation # simulated values
plot(scaled_kendall)

mstaniak/kendallRandomPackage documentation built on Aug. 26, 2019, 6:18 p.m.