Description Usage Arguments Value Author(s) Examples
Outliers detection on a variable using the adjusted outlyingness index (based on the robustbase package) if the variable is numeric, and on a frequency table if not. In the later case, a treshold in percentage is used to flag an outlier (1 treshold, then it is reported as outlier).
1 |
obj: |
a csPi object |
slot: |
the slot where the variable of interest is located |
var: |
the name of a variable on which outiers detection is applied |
treshold: |
the percentage treshold to consider outliers in the case of non numeric data |
other |
parameters related to the function adjOutlyingness from the package robustbase |
plot a graphics and return a table of the table individuals flagged as outliers
Laurent Dubroca
1 2 3 4 5 6 | ## Not run:
data(sole)
sole<-csDataTocsPi(sole.cs)
outliers(sole,"foDur")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.