plot_simu: Graphical representation of simulated data

View source: R/simulation.R

plot_simuR Documentation

Graphical representation of simulated data

Description

Graphical representation of simulated data

Usage

plot_simu(simu)

Arguments

simu

list, output of simul_data()

Value

the ggplot2 graph of simulated tajectories.

Author(s)

Zaineb Smida, Ghislain DURIF, Lionel Cucala

See Also

simul_data()

Examples

# constant delta
simu_data <- simul_data(
    n_point = 100, n_obs1 = 50, n_obs2 = 75, c_val = 5, 
    delta_shape = "constant", distrib = "normal"
)
plot_simu(simu_data)
# linear delta
simu_data <- simul_data(
    n_point = 100, n_obs1 = 50, n_obs2 = 75, c_val = 5, 
    delta_shape = "linear", distrib = "normal"
)
plot_simu(simu_data)
# quadratic delta
simu_data <- simul_data(
    n_point = 100, n_obs1 = 50, n_obs2 = 75, c_val = 5, 
    delta_shape = "quadratic", distrib = "normal"
)
plot_simu(simu_data)

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