general.control {IDPmisc} | R Documentation |
Defines the General Appearance of rose plot.
general.control(stacked = FALSE, rose.rad = NULL, rose.x = NULL, rose.y = NULL, mar = rep(0.3, 4), rev.col = FALSE, shift = 0, cex = 1, col = NULL, lty = 1:3, lwd = 1)
stacked |
stacked = FALSE : For each point
(x@rho[i,j], x@cyclVar[i]) with x equal to a
rose object, the radius is x@rho[i,j] -
ray.lim[1] as defined in grid.control . Points
with identical j are connected by a colored line.
stacked = TRUE : For each point (x@rho[i,j], x@cyclVar[i]),
the radius is sum(x@rho[1:i,j]) . No negative values are
allowed in the stacked case as this feature makes sense only for
variables like proportions, counts or concentrations. Areas between
two adjacent j are filled by color.
NA values in x@rho are interpreted as 0 and a
warning is issued. |
rose.rad, rose.x, rose.y |
Approximate length of radius, x- and
y-position of rose. Default units are mm but any valid grid unit
might be chosen (cf. unit . If one or more of
these arguments are defined, the user of the plot function must make
sure that the size of the viewport is large enough to show the
complete rose and the legend. These arguments are especially useful
when a series of plots of exactly the same size and position of the
rose on the viewport has to be produced. |
mar |
Margin around the plotting area. Default units are
grid.control(cyclVar.cex) . Other units can be defined by
unit . |
rev.col |
= TRUE : Ordering of the columns of x@rho
is reversed. |
shift |
Shifts the plot in clockwise direction by this
angle. Units of shift must be identical with units of
\cyclVar in link{plot.rose} |
cex |
Basic size of characters in the plot. |
col |
Colors of lines stacked = TRUE or colors of
stacked areas. In the first case colors are by default as distinct
as possible; in the latter case, all colors are matched by default
to the range green (=center of rose) to blue (outside of rose). |
lty, lwd |
Line type and line width. |
Returns the arguments conveniently packaged up in a list to supply the
general arguments for plot.rose
.
Rene Locher
general.control()