gghalfnorm {gghalfnorm} | R Documentation |
Produce a Half Normal Plot for a vector of residuals.
gghalfnorm(x, nlab = 2, labs = as.character(seq_along(x)), repel = FALSE,
...)
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
|
set.seed(100)
gghalfnorm(x = rnorm(100), nlab = 10)
gghalfnorm(x = rnorm(100), nlab = 10, repel = TRUE)