normplot: Normal probability plot

normplotR Documentation

Normal probability plot

Description

Normal probability plot

Usage

normplot(data, var, breaks = seq(0.1, 0.9, 0.1), linecolor = "red")

Arguments

data

a data frame

var

the variable to plot (data column)

breaks

the breaks for the y-axis

linecolor

the color of the normal probability line

Value

a normal probability plot (GGPlot2 object)

Examples

library(tibble)
df <- tibble(
  xn = rnorm(100, mean=20, sd=5),
  xu = runif(100, min=0, max=40)
)

df %>% normplot(xn)
df %>% normplot(xu)

adas.utils documentation built on April 12, 2025, 1:52 a.m.