## Animations generated in R version 2.15.0 (2012-03-30)
##   using the package animation
library(Pyramid)
library(animation)
for (i in 1:3) {
    Pyramid(male[, i], female[, i], widths = widths, fill.male = "blue3", 
        fill.female = "deeppink2", border.male = "black", 
        border.female = "black", )
    Sys.sleep(0.8)
}
## R version 2.15.0 (2012-03-30)
## Platform: i386-apple-darwin9.8.0/i386 (32-bit)
## Other packages: Pyramid 1.2, animation 2.0-6