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"
)A matrix of \(n\) observations by \(p\) domain points
A vector of the evaluation/domain points of y
A value indicating the number of evaluation/domain points
An integer vector indicating the indices of the true outliers
A logical indicating whether to add legend to plot if plot = TRUE.
Title of plot if plot is TRUE
Numerical value indicating the size of the plot title relative to the device default.
Set to 1.5 by default. Ignored if plot = FALSE.
The label of the y-axis. Set to "" by default.
The label of the x-axis if plot = TRUE. Set to
"gridpoints" by default.
A character value indicating the position of the
legend. Can be one of "bottomright", "bottom",
"bottomleft", "left" "topleft", "top",
"topright", "right", ""center.