[R] Single plot multiple levels in x?

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Aug 30 11:59:28 CEST 2007



Richard Yanicky wrote:
> Plotting with 2 x axis?
> 
> 
> One axis inside another, for example salary within state,
> 
> 
> 
> 
> 1-50     |     50 – 100 |  100+   |   1- 50 | 50 -100 | 100+ | …  repeated bins for salary
>                AL                           !               AR                     ……  more states


Sounds like the lattice package does exactly what you want, but without 
any reproducible example.....

Uwe Ligges



> 
> The values are all stored with a single data frame. I have tried different things with the axis function and done many searches for plotting. Can’t find a direct reference 
> 
> 
> Thanks.
> 
> Richard
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list