Shows a plot with number of expected vs. number of observed extreme objects for different significance levels (alpha values)
# S3 method for pca
plotExtreme(
obj,
res = obj$res[["cal"]],
comp = obj$ncomp.selected,
main = "Extreme plot",
xlab = "Expected",
ylab = "Observed",
pch = rep(21, length(comp)),
bg = mdaplot.getColors(length(comp)),
col = rep("white", length(comp)),
lwd = ifelse(pch %in% 21:25, 0.25, 1),
cex = rep(1.2, length(comp)),
ellipse.col = "#cceeff",
legend.position = "bottomright",
...
)
a PCA model (object of class pca
)
object with PCA results to show the plot for (e.g. calibration, test, etc)
vector, number of components to show the plot for
plot title
label for x-axis
label for y-axis
vector with values for pch
parameter for each number of components
vector with background color values for series of points (if pch=21:25)
vector with color values for series of points
line width for point symbols
scale factor for data points
color for tolerance ellipse
position of the legend
other arguments