Dear Jim,
This almost exactly what I need. However, because I am not trying to
plot price change as the color parameter, I need the scale to be
positive only (0 to 1) and would like to be able to control the color
scheme of the scale. I looked at the help file for map.market() and
it's cod
check out 'map.market' in the 'portfolio' package.
On Fri, Jun 26, 2009 at 11:27 PM, Osman Al-Radi wrote:
> 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
On Fri, Jun 26, 2009 at 10:27 PM, Osman Al-Radi wrote:
> 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 t
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
I think you are looking for mosaic()
table(df)
library(vcd)
mosaic(outcome ~ group, data=df)
Rich
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide
Perhaps this package can help:
http://cran.r-project.org/web/packages/vcd/index.html
Page 4 of this vignette looks like a complete solutions has already
been programmed:
http://cran.r-project.org/web/packages/vcd/vignettes/residual-shadings.pdf
--
On Jun 19, 2009, at 12:41 PM, Osman Al-Rad
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
8 matches
Mail list logo