normplot {adas.utils} | R 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 ( |
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)
[Package adas.utils version 1.2.0 Index]