A ggplot object. Field theta of the output contains the angles for the variables.
Arguments
R
a correlation matrix
labs
a vector of labels for the variables
ifun
the interpretation function ("cos" or "lincos")
cex
character expansion factor for the variable labels
main
a title for the correlogram
ntrials
number of starting points for the optimization routine
xlim
limits for the x axis (e.g. c(-1.2,1.2))
ylim
limits for the y axis (e.g. c(-1.2,1.2))
hjust
horizontal adjustment of variable labels (by default 1 for all variables)
vjust
vertical adjustment of variable labels (by default 2 for all variables)
size
font size for the labels of the variables
main.size
font size of the main title of the correlogram
Author
Jan Graffelman (jan.graffelman@upc.edu)
Details
ggcorrelogram makes a correlogram on the basis of a set of
angles. All angles are given w.r.t the positive x-axis. Variables are
represented by unit vectors emanating from the origin.
References
Trosset, M.W. (2005) Visualizing correlation. Journal of Computational and Graphical Statistics
14(1), pp. 1--19