getOutlierResults | R Documentation |
Extracts outlier results from the object.
getOutlierResults(object, ...)
## S4 method for signature 'OutlierDetection'
getOutlierResults(object, method = "IQR", across = NULL, verbose = TRUE)
## S4 method for signature 'Analysis'
getOutlierResults(object, method = "IQR", across = NULL, verbose = TRUE)
object |
Any object for whose class a method has been defined. |
method |
Character value. The outlier detection method. Valid input options are 'IQR' and 'Mahalanobis'. |
across |
Character value or NULL. If character, denotes the grouping variable of interest. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
The return value depends on the method chosen:
method
= 'IQR':
A named list in which each slot is a vector of IDs which were identified
as outliers within a numeric variable denoted by the name of the list's slot.
method
= 'Mahalanobis':
A data.frame with column names <key.name>, mahal and pval.
If across
is a character value the returned value is a list
named according to the groups of the grouping variable across
each containing
output as described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.