Learn R Programming

faraway (version 1.0.8)

halfnorm: Half Normal Plot

Description

Makes a half-normal plot

Usage

halfnorm(
  x,
  nlab = 2,
  labs = as.character(1:length(x)),
  ylab = "Sorted Data",
  ...
)

Value

none

Arguments

x

a numeric vector

nlab

number of points to label

labs

labels for points

ylab

label for Y-axis

...

arguments passed to plot()

Author

Julian Faraway

See Also

qqnorm

Examples

Run this code

halfnorm(runif(10))

Run the code above in your browser using DataLab