| plot-methods {dembase} | R Documentation |
Methods for function plot which aim to show the main features
of a demographic array. Different formats are used
for objects of class Counts and
Values.
## S4 method for signature 'Counts' plot( x, main = NULL, cex.main = 1.2, col.main = "black", font.main = 2, las = 1, ... ) ## S4 method for signature 'Values' plot( x, threshold = 20, main = NULL, cex.main = 1.2, col.main = "black", font.main = 2, las = 1, ... )
x |
Object of class |
main |
Title for plot. |
cex.main, col.main, font.main |
The 'character expansion factor', colour,
and font to be used for |
las |
Parameter governing orientation of axis labels. One of |
... |
Other arguments, which are passed to the underlying plotting functions. |
threshold |
An integer. If the number of values being plotted per
category is less than or equal to |
plot calls functions barchart,
boxplot, and stripchart
library(demdata) popn <- Counts(VAPopn) plot(popn) rates <- Values(VADeaths2) plot(rates)