routlier_mad: Returns an outlier data frame in a DT table utilizing the...

View source: R/routlier_mad.R

routlier_madR Documentation

Returns an outlier data frame in a DT table utilizing the mean absolute deviation (MAD) method

Description

The Outlier(s) wil be highlighted red in the table and the other values will be highlighted greeen.

R logo

There is also a printout of the data and the columns giving the upper and lower MAD and the overall range of the MAD.

R logo

Usage

routlier_mad(data,MAD)

Arguments

data

filepath to data.

MAD

number of MAD standard deviations.

Value

Returns a numeric dataset from the original dataset and the outliers are highlighted in red.The outlier table and the number of outliers are returned as a list object.

Examples



  data<- routlier_mad(data = mtcars,MAD = 2)

  print(data$outliers)



gonzalezben81/routlier documentation built on July 21, 2024, 1:01 a.m.