qqgld.default | R Documentation |
This is an updated QQ plot function for GLD comparing fitted distribution with empirical data
qqgld.default(y, vals, param, ylim, main = "GLD Q-Q Plot",
xlab = "Theoretical Quantiles", ylab = "Sample Quantiles",
plot.it = TRUE, datax = FALSE, ...)
y |
A vector of empirical data observations |
vals |
A vector representing four parameters of GLD |
param |
Can be "rs", "fmkl" or "fkml" |
ylim |
A vector of two numerical values, specifying the upper and lower bound of y axis |
main |
Title of the qq plot |
xlab |
Label for X axis |
ylab |
Label for Y axis |
plot.it |
Whether to plot the QQ plot, default is TRUE |
datax |
Whether data values should be on x axis, default is FALSE |
... |
Additional graphical parameters |
This is an adaptation of the default qq plot in R
A list with components:
x |
The x coordinates of the points that were/would be plotted |
y |
The original y vector, i.e., the corresponding y coordinates including NAs. |
R, with modifications from Steve Su
qqplot.gld
, qqplot.gld.bi
x<-rnorm(100)
fit1<-fun.RMFMKL.ml.m(x)
qqgld.default(x,fit1,param="fmkl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.