plot_simu | R Documentation |
Graphical representation of simulated data
plot_simu(simu)
simu |
list, output of |
the ggplot2 graph of simulated tajectories.
Zaineb Smida, Ghislain DURIF, Lionel Cucala
simul_data()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.