gx.md.plt0: Function to Display Chi-square plots of Mahalanobis Distances

Description Usage Arguments Author(s) See Also Examples

Description

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.

Usage

1
2
3
 
gx.md.plt0(md, n, p, trim = trim, ptrim = -1, proc = proc,
	main = main, ifadd = ifadd, cexf = cexf, cex = cex, ...) 

Arguments

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 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%.

Author(s)

Robert G. Garrett

See Also

gx.md.gait, gx.md.plot, gx.add.chisq

Examples

1
2
3
4
5
6
7
8
## 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)

rgr documentation built on May 2, 2019, 6:09 a.m.

Related to gx.md.plt0 in rgr...