| plotDistances.ddsimca | R Documentation |
Show with distance values (score, orthogonal or full) vs object indices for calibration and PV-set results.
## S3 method for class 'ddsimca'
plotDistances(
obj,
res = "both",
ncomp = obj$ncomp.selected,
limType = "classic",
distance = "h",
log = FALSE,
lim.lty = c(2, 3),
lim.col = c("darkgray", "darkgray"),
lim.lwd = c(1, 1),
ylim = NULL,
xlim = NULL,
...
)
obj |
DD-SIMCA model (object of class |
res |
name of the results (can be 'cal', 'pv', 'both', or 'diff', in the latter case shows difference of the distance values between the training and the PV-set). |
ncomp |
number of components to show the plot for. |
limType |
limit type to show the plot for ('classic' or 'robust') |
distance |
which distance to show ( |
log |
logical, apply log transformation or not. |
lim.lty |
vector with two values - types of the lines showing critical limits (extreme, outlier). |
lim.col |
vector with two values - colors of the lines showing critical limits (extreme, outlier). |
lim.lwd |
vector with two values - thickness of the lines showing critical limits (extreme, outlier). |
ylim |
limits for y-axis, if NULL will be estimated automatically. |
xlim |
limits for x-axis, if NULL will be estimated automatically. |
... |
other parameters compatible with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.