Re: [R] pyramid.plot in plotrix, axis labelling

2012-04-12 Thread Jim Lemon
On 04/12/2012 09:55 PM, Gavin Rudge wrote: Hi, I've been looking at ways to make pyramid plots in R. I like the pyramid.plot method in plotrix as it seems the simplest to use and building them in ggplot looks a bit more code intensive than I'd like, being as I'm new to R. This package does p

Re: [R] pyramid.plot in plotrix, axis labelling

2012-04-12 Thread Richard M. Heiberger
Gavin, Thank you for this example. I would use the as.pyramidLikert function in the HH package. The resulting plot is a standard lattice plot, so any fine tuning uses that standard lattice features. Rich > ## install.packages("HH") ## if necessary > library(HH) > mydata <- cbind(mpop,fpop)[10