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