fd.Rd
Draws a fluctuation diagram.
fd(x, ...)
# S3 method for class 'matrix'
fd(x, add = FALSE, vals = FALSE, at.x, at.y, axes = TRUE,
frame.plot = FALSE, main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
zmax = max(x, na.rm = TRUE), xlim, ylim, asp = 1, panel.first = NULL,
panel.last = NULL, ann = par("ann"), col = "grey", border = "black",
...)
# S3 method for class 'table'
fd(x, add = FALSE, vals = FALSE, at.x, at.y, axes = TRUE,
frame.plot = FALSE, main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
zmax = max(x, na.rm = TRUE), xlim, ylim, asp = 1, panel.first = NULL,
panel.last = NULL, ann = par("ann"), col = "grey", border = "black",
...)
object to draw fluctuation diagram of (most commonly a table)
a logical value indicating whether to add to an existing
plot (TRUE
) or to create a new plot (FALSE
).
a logical value indicating whether to draw values into the rectangles (discouraged and unimplemented).
locations of the colums (by default 1:ncol
)
locations of the rows (by default 1:nrow
)
a logical value indicating whether both axes should be
drawn on the plot. Use graphical parameter xaxt
or
yaxt
to suppress just one of the axes.
a logical indicating whether a box should be drawn around the plot.
a main title for the plot, see also title
.
a subtitle for the plot.
a label for the x
axis.
a label for the y
axis.
value representing the total size of an allocated box.
the x limits (x1, x2) of the plot. The default is the
range of at.x
with an additional 0.5 margin of the ends.
the y limits of the plot.
the y/x aspect ratio, see plot.window
.
an expression to be evaluated after the plot axes are set up but before any plotting takes place. This can be useful for drawing background grids
an expression to be evaluated after plotting has taken place.
see "ann"
graphical parameter
color of the boxes to be filled with, will be recycled to
match the shape of x
.
color of the box borders - only scalar value is supported at the moment.
additional graphical parameters
Returns (invisibly) a data frame describing the sparse representation of the boxes as location and radius.