Pyramid
draws populations pyramid, wrapper to barplot()
Install / Use
/learn @timriffe/PyramidREADME
Pyramid
Pyramid() draws a population pyramid. Tons of optional arguments. Other related functions may be added. Soon to undergo overhaul. Here's a webpage for the package.
Installation
To download and install the development version of Pyramid:
- make sure you have the most recent version of R
- look at the notes below if you're on Windows or Mac.
Download the zip ball or
tar ball, decompress and run R CMD INSTALL on it in the terminal command line, or use the devtools package to install the development version:
# install.packages("devtools")
library(devtools)
install_github("timriffe/Pyramid",subdir="Pyramid")
Note: Windows users need Rtools to install from github as shown above. Get the most recent version of R for Windows and download and install the version of Rtools that corresponds to it.
Note: Mac users might be required to install the appropriate version XTools from the Apple Developer site in order to install the development version. You may need to register as an Apple developer. An older version of XTools may also be required.
