Function to Display Chi-square plots of Mahalanobis Distances
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, ...)
md |
a vector of Mahalanobis distances of length n. |
n |
the length of the vector of Mahalanobis distances. |
p |
the number of variables upon which the Mahalanobis distances are based. |
trim |
the number of individuals (observations or samples) that have been trimmed, and did not contribute to the estimation of covariance and means. |
ptrim |
the percentage trim requested, if a percentage (MVT) trim was requested. |
proc |
the procedure by which the Mahalanobis distances were estimated, used to ensure appropriate labelling of the Chi-square plot x-axis. |
main |
the title for the Chi-square plot. |
ifadd |
the probability based fences to be displayed on the Chi-square plots, set by the calling function and the user. |
cexf |
the text scale expansion factor for the annotation of the probability based fences, set by the calling function and the user. |
cex |
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 |
Robert G. Garrett
## 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.