plotExtreme.pca | R Documentation |
Shows a plot with number of expected vs. number of observed extreme objects for different significance levels (alpha values)
## S3 method for class '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",
...
)
obj |
a PCA model (object of class |
res |
object with PCA results to show the plot for (e.g. calibration, test, etc) |
comp |
vector, number of components to show the plot for |
main |
plot title |
xlab |
label for x-axis |
ylab |
label for y-axis |
pch |
vector with values for |
bg |
vector with background color values for series of points (if pch=21:25) |
col |
vector with color values for series of points |
lwd |
line width for point symbols |
cex |
scale factor for data points |
ellipse.col |
color for tolerance ellipse |
legend.position |
position of the legend |
... |
other arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.