Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Is there an R function for finding the index of outliers in a vector?

$
0
0

I am trying to write a program with the function findOutliers to return a vector with either the outliers or the index of the outliers. The function should accept an optional named, boolean argument called "values". If values is True, then return the actual outliers. If values is False, return the numeric indices of the outliers.

I have no idea where to start. Please help:/


Viewing all articles
Browse latest Browse all 201839

Trending Articles