Create a Half Normal Plot Using 'ggplot2'

Reproduce the halfnorm() function found in the 'faraway' package using the 'ggplot2' API.


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

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.

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")

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gghalfnorm")

1.1.2 by Nathan Eastwood, 9 months ago


https://github.com/nathaneastwood/gghalfnorm


Report a bug at https://github.com/nathaneastwood/gghalfnorm/issues


Browse source code at https://github.com/cran/gghalfnorm


Authors: Nathan Eastwood [aut, cre]


Documentation:   PDF Manual  


AGPL-3 license


Imports ggplot2, ggrepel

Suggests covr, testthat


See at CRAN