This function makes a graphical diagram of multivariate data. Every element represents one line in the sun and the length of the line indicates the concentration of the element.
radius: should be TRUE, otherwise the lines in the sun will not be plotted
labels: the labels for the suns inside the map
locations: the locations for the suns inside the map
nrow, ncol: integers giving the number of rows and columns to use when locations=NULL
len: scaling factor for the length of the lines (according to the size of the map)
key.loc: the location for the legend
key.labels: the labels in the legend
key.xpd: A logical value or NA. If FALSE, all plotting is clipped to the plot region, if TRUE, all plotting is clipped to the figure region, and if NA, all plotting is clipped to the device region.
flip.labels: logical indication if the label locations should flip up and down from diagram to diagram.
axes: if FALSE, no axes will be drawn
frame.plot: if TRUE, a box will be made around the plot
main, sub, xlab, xlim, ylim, col.stars, ylab, cex, lwd, lty, xpd, mar: graphical parameters and labels for the plot
add: if TRUE, it will be added to the plot
plot: nothing is plotted
...: graphical parameters for plotting the box
Returns
No return value, creates a plot.
Details
Each sun represents one row of the input x. Each line of the sun represents one choosen element. The distance from the center of the sun to the point shows the size of the value of the (scaled) column.
References
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.