Project Status: Active - The project has reached a stable, usable state and is being actively developed. Travis-CI Build Status CRAN RStudio mirror downloads codecov

Half-Normal Plots

This package provides a wrapper around the halfnorm function from the faraway package using the ggplot2 API. The gghalfnorm function is the only function within the package.

Usage

set.seed(123)
gghalfnorm(x = rnorm(100), nlab = 10)

The function can also make use of the geom_text_repel function from the ggrepel package.

set.seed(123)
gghalfnorm(x = rnorm(100), nlab = 10, repel = TRUE, box.padding = unit(1, "lines"))

Installation

Install the latest stable release from CRAN:

install.packages("gghalfnorm")

Alternatively, install the latest development version from github:

install.packages("devtools")
devtools::install_github("nathaneastwood/gghalfnorm")