EdwinTh / ggoutlier

R package for outlier plots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggoutlier

Build Status

A package with wrapper functions that deal with outliers, making the regular range interpretable without abandoning the outliers.

Installation

Currently this package is only available from this repo, install with:

# install.packages("devtools")
devtools::install_github("EdwinTh/ggoutlier")

Example

The package contains a single function: ggoutlier_hist. More may be added in the future.

library(ggoutlier)
library(ggplot2)
set.seed(1235)
x <- data.frame(some_var = c(rnorm(100), runif(10, -100, 100)))
ggplot(x, aes(some_var)) + geom_histogram()

ggoutlier_hist(x, "some_var", -5, 5)

About

R package for outlier plots

License:Other


Languages

Language:R 100.0%