https://github.com/cran/robCompositions
Raw File
Tip revision: d43cd20e55d3a1691b396cc30772f2e5a2945e82 authored by Matthias Templ on 29 November 2009, 19:35:41 UTC
version 1.3.2
Tip revision: d43cd20
plot.outCoDa.R
plot.outCoDa <- function(x, y, ...){
	plot(1:length(x$mahalDist), x$mahalDist, ylab="Mahalanobis distance", xlab="Index", type="n", ylim=c(0, max(x$mahalDist)) )
	points(1:length(x$mahalDist[x$outlierIndex]), x$mahalDist[x$outlierIndex], pch=3, col="red")
	points(1:length(x$mahalDist[!x$outlierIndex]), x$mahalDist[!x$outlierIndex])	
	abline(h=x$limit, lty=2)
	#print(x$mahalDist)
}
back to top