[R] Population pyramids

Jim Lemon jim at bitwrit.com.au
Thu Jul 9 12:54:54 CEST 2009


Victor Manuel Garcia Guerrero wrote:
> Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I have been trying all day long and I could not succed.
>
>   
Hi Victor,
I can get part of the way there with pyramid.plot and plotCI, but it 
would take some concentrated hacking to do it properly. If you can't 
find another solution, let me know.

Jim




More information about the R-help mailing list