Dear R-help users,
I would like to produce a plot of ordered stacked coloured square where each
square would represent a level of a categorical variable CAT (aprox. 150
levels), the size of the square would represent the frequency FREQ (count) of
that level, the color would represent a proporti
function(x, y, subscripts, ...){
> panel.loess(x, y)
> panel.text(0, 2,
> label=c('best','better','bad','worst')[tail(subscripts, 1)/100])
> })
>
> On Thu, Sep 24, 2009 at 2:45 PM, Osman Al-Radi
> wrote:
> > Dear R-h
Dear R-help,
I would like to add text to each of four panels in a plot generated by
xyplot in lattice library. A sample code is given below, the plot generated
has the first label repeated in all panels!
How can I get the labels to be different in each panel?
library(lattice)
x <- rnorm(400)
y <
Dear Richard and David,
Thanks for this reference. I looked into vcd and mosaic plot, it is a nice
plot for investigating associations between two or more variables. However,
I just need to plot the frequency of a single variable as the area of the
box. boxes are stacked to fill a larger box that
Hello,
I would like to create a plot composed of stacked boxes (squares or
rectangles), where the size of the box would represent the frequency of
observations based on a categorical variable (group), the color would
represent the proportion of success (binary) within that group (outcome) on
a pre
Hello,
I would like to create a plot composed of stacked boxes (squares or
rectangles), where the size of the box would represent the frequency of
observations based on a categorical variable (group), the color would
represent the proportion of success (binary) within that group (outcome) on
a pre
6 matches
Mail list logo