simul_traj: Single trajectory simulation

View source: R/simulation.R

simul_trajR Documentation

Single trajectory simulation

Description

Simulate a trajectory of length n_point using a random generator associated to different probability distribution.

Usage

simul_traj(n_point, distrib = "normal", max_iter = 10000)

Arguments

n_point

integer value, number of points in the trajectory.

distrib

character string, type of probability distribution used to simulate the data among "normal", "cauchy", "dexp", "student".

max_iter

integer, maximum number of iteration for the iterative simulation process.

Value

Vector of size n_point with the trajectory values.

Author(s)

Zaineb Smida, Ghislain DURIF, Lionel Cucala

References

Zaineb Smida, Lionel Cucala, Ali Gannoun & Ghislain Durif (2022) A median test for functional data, Journal of Nonparametric Statistics, 34:2, 520-553, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/10485252.2022.2064997")}, hal-03658578

See Also

simul_data()

Examples

simu_vec <- simul_traj(100)
plot(simu_vec, xlab = "point", ylab = "value")

funStatTest documentation built on May 29, 2024, 10:26 a.m.