https://github.com/cran/robCompositions
Raw File
Tip revision: 325444901c2227c36bea9ac4bd62ffcee2b6bc95 authored by Matthias Templ on 06 May 2015, 17:22:25 UTC
version 1.9.1
Tip revision: 3254449
print.outCoDa.R
#' print method for outCoDa objects
#' 
#' Gives a short information of the amount of outliers in objects of class
#' \sQuote{outCoDa}.
#' 
#' 
#' @param x object of class \sQuote{ourCoDa}
#' @param \dots ...
#' @author Matthias Templ, Karel Hron
#' @seealso \code{\link{outCoDa}}
#' @keywords print
#' @examples
#' 
#' data(expenditures)
#' oD <- outCoDa(expenditures)
#' oD
#' 
print.outCoDa <- function(x, ...){
 cat("\n --------------------\n")	
 print(paste(length(which(x$outlierIndex == TRUE)), "out of", length(x$outlierIndex), "observations are detected as outliers."))
 cat("\n --------------------\n\n")		
}
back to top