Plot a Single Star Symbol

DESCRIPTION:

Creates a single star plot on the current graphics device.

USAGE:

starsymb(x, full=T, scale=T, radius=T, type="l",  
          collab=<<see below>>, sample=1) 

REQUIRED ARGUMENTS:

x
data matrix, as passed to stars. Missing values ( NAs) are allowed.

OPTIONAL ARGUMENTS:

full
logical flag: if TRUE, full 360 degree symbols are produced; otherwise, upper semi-circles are produced.
scale
logical flag: if TRUE, the columns of the data matrix are scaled so that the maximum value in each column is 1 and the minimum is 0.
radius
logical flag: if TRUE, radii corresponding to each variable will be drawn.
type
the type of the plotted symbol (see stars).
collab
vector of character string labels for the variables (columns of x). If available, the second component of dimnames(x) will be used as a default; otherwise, the labels are "1", "2", etc.
sample
the row of x for which the symbol will be drawn.

Graphical parameters may also be supplied as arguments to this function (see ).

SIDE EFFECTS:

a star plot is produced on the current graphics device. See the DETAILS section for stars for an explanation.

DETAILS:

Produces a star plot on the current graphics device. x is a data matrix representing points on the star. Missing values ( NAs) are allowed.

SEE ALSO:

.

EXAMPLES:

#  plot the Republican votes from New Jersey 
starsymb(votes.repub/100, sample=30,scale=F) 
title(main=paste("Republican Votes for",state.name[30]))