gghalfnorm: Half Normal Plot

Description Usage Arguments See Also Examples

Description

Produce a Half Normal Plot for a vector of residuals.

Usage

1
2
gghalfnorm(x, nlab = 2, labs = as.character(seq_along(x)), repel = FALSE,
  ...)

Arguments

x

A vector of residuals.

nlab

The number of points to label.

labs

The labels for the points.

repel

Logical. Whether to repel the labels or not.

...

Additional parameters to be passed to geom_text_repel.

See Also

qqnorm

Examples

1
2
3
set.seed(100)
gghalfnorm(x = rnorm(100), nlab = 10)
gghalfnorm(x = rnorm(100), nlab = 10, repel = TRUE)

nathaneastwood/gghalfnorm documentation built on May 23, 2019, 12:18 p.m.