adplot {adplots} | R Documentation |
Creates Ad-plot for the provided data.
Description
Ad-plot identifies the characteristics of the distribution such as symmetry, skewness, and outliers of the data set.
Usage
adplot(X, title = "Ad-plot", xlab = "x", lcol = "black", rcol = "grey60", ...)
Arguments
X |
an |
title |
title of the plot, Ad-plot by default. |
xlab |
|
lcol |
color of the points corresponding to the data that are less than or equal to the sample average, black by default. |
rcol |
color of the points corresponding to the data that are greater than the sample average, grey60 by default. |
... |
other graphical parameters. |
Value
Ad-plot
References
Wijesuriya, U. A. (2025). Ad-plot and Ud-plot for Determining Distributional Characteristics and Normality. Communications in Statistics-Theory and Methods, doi:10.1080/03610926.2024.2440583.
Examples
set.seed(0)
X1 <- matrix(rnorm(50, mean = 2, sd = 5))
adplot(X1)
X2 <- matrix(rf(50, df1 = 10, df2 = 5))
adplot(X2)
X3 <- matrix(rbeta(50, shape1 = 10, shape2 = 2))
adplot(X3, title="", lcol = "blue", rcol = "red")
[Package adplots version 0.1.0 Index]