Description Usage Arguments Value Examples
View source: R/simulations_kendall_rw.R
Object returned by this has print and plot methods.
1 2  | simulate_kendall_rw(number_of_simulations, trajectory_length, step_dist,
  alpha, symmetric = FALSE, ...)
 | 
number_of_simulations | 
 number of trajectories to generate.  | 
trajectory_length | 
 length of trajectories.  | 
step_dist | 
 function returning random numbers from step dist.  | 
alpha | 
 alpha parameter.  | 
symmetric | 
 If TRUE, random walk on the whole real line will be simulated.  | 
... | 
 parameters for step distribution.  | 
Object of class kendall_simulation. It is a list that consists of
simulation | 
 Tibble with simulation id and simulated values,  | 
step_distribution | 
 Name of the step distribution,  | 
alpha | 
 Value of alpha parameter,  | 
is_symmetric | 
 Logical value indicating if this is a symmetric Kendall R.W.  | 
1 2 3 4  | kendall_simulations <- simulate_kendall_rw(10, 1000, runif, 0.5)
# Kendall R.W. on positive half-line with uniform step distribution - 10 trajectories.
only_simulations <- kendall_simulations$simulation # tibble with simulated values
kendall_simulations
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.