View source: R/simulation_models.R
plot_dtt | R Documentation |
Support function for plotting data generated by any of the simulation model
functions simulation_model1() - simulation_model9()
.
plot_dtt(
y,
grid_points,
p,
true_outliers,
show_legend,
plot_title,
title_cex,
ylabel,
xlabel,
legend_pos = "bottomright"
)
y |
A matrix of |
grid_points |
A vector of the evaluation/domain points of |
p |
A value indicating the number of evaluation/domain points |
true_outliers |
An integer vector indicating the indices of the true outliers |
show_legend |
A logical indicating whether to add legend to plot if |
plot_title |
Title of plot if |
title_cex |
Numerical value indicating the size of the plot title relative to the device default.
Set to 1.5 by default. Ignored if |
ylabel |
The label of the y-axis. Set to |
xlabel |
The label of the x-axis if |
legend_pos |
A character value indicating the position of the
legend. Can be one of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.