plot_simu {funStatTest}R 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)

[Package funStatTest version 1.0.3 Index]