Description Usage Arguments Value Examples

View source: R/detectOutliers.R

detectOutliers return values of x that are outliers.

1 | ```
detectOutliers(x, method = "SD", SDs = 3.5)
``` |

`x` |
vector of values |

`method` |
how to detect outliers: 'SD', 'Chi', 'Dixon', 'Grubbs', 'Biggest' |

`SDs` |
if method='SD', then how many standard deviations from the mean will be considered an outlier boundary |

A vector of outliers from x

1 2 | ```
#fakeData <- data.frame(x = rnorm(4, 4, 20))
#detectOutliers(x = fakeData$x)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.