Usage
cohorts(pop.pred, country = NULL, expression = NULL, pi = c(80, 95))
pop.cohorts.plot(pop.pred, country = NULL, expression = NULL, cohorts = NULL,
cohort.data = NULL, pi = c(80, 95), dev.ncol = 5, show.legend = TRUE,
legend.pos = "bottomleft", ann = par("ann"), add = FALSE, xlab = "", ylab = "",
main = NULL, xlim = NULL, ylim = NULL, col = "red", ...)Arguments
country
Name or numerical code of a country. If it is not given, expression must be specified.
expression
Expression defining the population measure to be plotted. For syntax see pop.expressions. It must be country-specific, i.e. XXX is not allowed, and it must contain curly braces, i.e pi
Probability interval. It can be a single number or an array.
cohorts
Years of the cohorts to be plotted. By default, 10 future cohorts (starting from the last observed one) are used. It can be a single number or an array.
cohort.data
List with the cohort data obtained via the cohorts function. If it is not given, function cohorts is called internally, but by passing this argument the processing is faster.
dev.ncol
Number of column for the graphics device.
show.legend
Logical controlling whether the legend should be drawn.
legend.pos
Position of the legend passed to the legend function. ann, xlab, ylab, main, xlim, ylim, col, ...
Graphical parameters passed to the plot function.
add
Logical specifying if the plot should be added to an existing graphics.