Form age pyramid plot
agePyramidPlot(
males,
females,
ageLabels,
mcol,
fcol,
laxlab,
raxlab,
gap,
currentDate
)
integer vector with the number of males in age groups corresponding to the position in the vector
integer vector with the number of females in age groups corresponding to the position in the vector
character vector of labels for the categories represented by each pair of bars. There should be a label for each lx or rx value, even if empty. If labels is a matrix or data frame, the first two columns will be used for the left and right category labels respectively.
color for the male (left) side of the plot
color for the female (right) side of the plot
label for the male (left) side of the plot
label for the female (right) side of the plot
numeric value for one half of the space between the two sets
of bars for the ageLabels
in user units
POSIXct date object indicating the date corresponding to the date the pedigree census occurred.
The return value of par("mar") when the function was called.