qqtriangle {triangle} | R Documentation |
Quantile-Quantile Plot for Triangle Distributed Data
qqtriangle(
y,
a,
b,
c,
main = "Triangle Q-Q Plot",
xlab = "Theoretical Quantiles",
ylab = "Sample Quantiles",
...
)
y |
the triangle distributed sample |
a |
the theoretical distribution triangle minimum parameter |
b |
the theoretical distribution triangle maximum parameter |
c |
the theoretical distribution triangle mode parameter |
main |
the plot title |
xlab |
the x-axis label |
ylab |
the y-axis label |
... |
other parameters passed to |
a list of x-y coordinates on the plot
set.seed(10304)
xtest <- rtriangle(100, 1, 5, 2)
theta <- coef(triangle_mle(xtest))
qqtriangle(xtest, theta[1], theta[2], theta[3])