Description Usage Arguments Details Value Author(s) References See Also Examples
This function generates a graph that allows one to determine quickly the azimuths distribution can be considered uniform.
1 | DrawQQPlot(azimuths, SVGf=0)
|
azimuths |
Vector containing the values of the azimuths |
SVGf |
Integer value. If SVGf = 0, the plot is showed only in the graphic window. If SVGf = 1, then the plot is saved as SVG graphic. The default value is 0. |
The graphic is created by placing in increasing order of n pairs of points from the calculation of the linear order statistics of the azimuths.
If the data fit to the uniform distribution, the points should lie along a 45 grades line passing through the origin.
The arbitrary choice of the origin of the azimuths may lead to a misunderstanding in the interpretation. We can solve this problem by adding the unit to each element of the pair of values of the first 20 percent of points and by subtracting the unit to each element of the pair of values of the last 20 percent. All these new points are plotted.
One way to obtain a set of azimuths from X and Y coordinates of the vectors is to use the LoadData
function.
This function returns no value. A graph is displayed to show whether the hypothesis of uniform distribution can be accepted or rejected.
Ruiz-Cuetos, J.C., jcruizcue@gmail.com, Felicisimo, A.M., amfeli@unex.es, Cuartero, A., acuartero@unex.es, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es
Fisher N.I. (1995) Statistical analysis of circular data. Cambridge. Cambridge University Press.
Website http://gim.unex.es/VecStatGraphs2D/
1 2 3 4 | FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
dat<-LoadData(FileName, Type=2)
azimuths<-dat[,2]
DrawQQPlot(azimuths, SVGf=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.