fsdaR (version 0.4-9)

malindexplot: Plots the trajectory of minimum Mahalanobis distance (mmd)

Description

Plots the trajectory of minimum Mahalanobis distance (mmd)

Usage

malindexplot(out, p, xlab, ylab, main, nameX, conflev, trace = FALSE,
  ...)

Arguments

out

a numeric vector or an object of S3 class (one of fsmult.object, smult.object or mmmult.object) returned by one of the functions fsmult or smult or mmmult - a list containing the monitoring of minimum Mahalanobis distance

p

If out is a vector, p is its length (i.e. number of variables).

xlab

A title for the x axis

ylab

A title for the y axis

main

An overall title for the plot

nameX

Add variable labels in the plot. A vector of strings of length p containing the labels of the variables of the original data matrix X. If it is empty (default) the sequence X1, ..., Xp will be created automatically

conflev

confidence interval for the horizontal bands. It can be a vector of different confidence level values, e.g. c(0.95, 0.99, 0.999). The confidence interval is based on the chi^2 distribution.

trace

Whether to print intermediate results. Default is trace=FALSE.

...

potential further arguments passed to lower level functions.

Value

none

References

Atkinson and Riani (2000), Robust Diagnostic Regression Analysis, Springer Verlag, New York.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 ##  Mahalanobis distance plot of 100 random numbers.
 ##  Numbers are from from the chisq with 5 degrees of freedom

 malindexplot(rchisq(100, 5), 5)
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab