This function is not called directly by the user but from functions that plot Mahalanobis distances, i.e. gx.md.gait
and gx.md.plot
.
gx.md.plt0(md, n, p, trim = trim, ptrim = -1, proc = proc,
main = main, ifadd = ifadd, cexf = cexf, cex = cex, ...)
a vector of Mahalanobis distances of length n.
the length of the vector of Mahalanobis distances.
the number of variables upon which the Mahalanobis distances are based.
the number of individuals (observations or samples) that have been trimmed, and did not contribute to the estimation of covariance and means.
the percentage trim requested, if a percentage (MVT) trim was requested.
the procedure by which the Mahalanobis distances were estimated, used to ensure appropriate labelling of the Chi-square plot x-axis.
the title for the Chi-square plot.
the probability based fences to be displayed on the Chi-square plots, set by the calling function and the user.
the text scale expansion factor for the annotation of the probability based fences, set by the calling function and the user.
the text scale expansion factor for the other annotation within the ‘frame’ of the Chi-square plot, set by the calling function and the user.
further arguments to be passed to methods concerning the generated plots. For example, if some colour other than black is required for the plotting characters, specify col = 2
to obtain red (see display.lty
for the default colour palette). If it is required to make the plot title or axis labelling smaller, add cex.main = 0.9
or cex.lab = 0.9
, respectively, to reduce the font size by 10%.
# NOT RUN {
## Make test data available
data(sind.mat2open)
## Generate and display sets of Mahalanobis distances
gx.md.gait(ilr(sind.mat2open))
gx.md.gait(ilr(sind.mat2open), mcdstart = TRUE, ifadd = NULL)
gx.md.gait(ilr(sind.mat2open), mcdstart = TRUE, mvtstart = TRUE, trim = 3,
ifadd = 0.9)
# }
Run the code above in your browser using DataLab