Displaying 20 results from an estimated 4000 matches similar to: "grouped and stacked plot"
2005 Jul 04
0
New version of "vcd" package
Dear useRs,
a completely revised version of the `vcd' ("Visualizing Categorical
Data") package is now
available from CRAN. This major revision includes the following
enhancements:
* grid-based:
The package is now entirely based on `grid', the new R graphics system,
thus exploiting
its unique functionalities. Powered by grid, it is now possible,
e.g., to simply compose complex
2005 Jul 04
0
New version of "vcd" package
Dear useRs,
a completely revised version of the `vcd' ("Visualizing Categorical
Data") package is now
available from CRAN. This major revision includes the following
enhancements:
* grid-based:
The package is now entirely based on `grid', the new R graphics system,
thus exploiting
its unique functionalities. Powered by grid, it is now possible,
e.g., to simply compose complex
2008 May 02
1
A horizontal or vertical line draw on mosaic plot?
Hi,
I want to have a horizontal line on a mosaic plot with "vcd" package.
This would give me an idea where is 0.5 proportion in a cell. Using
"mosaicplot" function of "graphics" package, I can draw a line using
"abline." But, with "mosaic" function of "vcd" package, I have tried
to use "abline" function, which complains
2006 Jul 19
1
plain shading (not residuals) in mosaic plot
Hello. I've been using R for a couple of months and enjoying it a lot.
This is my first post to R-help.
I'm using the vcd package to make mosaic plots with labels on the tiles
indicating the number of items in each cell.
For example, I've made this plot:
> allmorph<-structure(c(10, 26, 17, 100, 70, 97, 253, 430, 185, 177,
> 25, 1), .Dim = as.integer(c(6, 2)), .Dimnames
2013 Feb 08
1
color query in mosaic in package vcd
require(vcd)
mosaic(matrix(1:6, 2, 3), gp=gpar(fill=c("red","gray","blue")), main="three
colors in each row")
mosaic(matrix(1:3, 1, 3), gp=gpar(fill=c("red","gray","blue")), main="only
one color in each row")
I anticipated three colors in the second plot. My guess is that there is
a matrix subscript without
2010 Apr 15
0
[R-pkgs] vcdExtra 0.5-0 is released to CRAN
I'm pleased to announce the release of the vcdExtra package, v. 0.5-0
from R-Forge to CRAN, on its way to a CRAN server near you.
vcdExtra was originally designed to serve as a sandbox for introducing
extensions of mosaic plots and other visualizations for categorical
data, particularly those that apply to (poisson surrogate)
loglinear models fitted using glm() and
related, generalized
2012 Dec 18
2
Changing Variable Names In VCD
Hello:
What is the most efficient way to change the plotted variable names in mosaic plots in the vcd package? Should one do a separate contingency table first, change the dimension names there and then pass that to mosaic?
Or is there a way to do it simply within mosaic.
I was thinking something like:
mosaic(~var1+var2, labelling_args=list(varnames=c('newvar1', 'newvar2'))
Simon
2008 Sep 26
2
adjusting textsize and spacing in mosaic (vcd package)
I'm trying to find a way to change the font size in a mosaic plot (the
grid version, not the base graphics one).
Here's an example to demonstrate:
#Basic plot
library(vcd)
mosaic(HairEyeColor, shade = TRUE)
#Bad first guess: this stops the default cell colouring, and doesn't
change the font size
mosaic(HairEyeColor, shade = TRUE, gp=gpar(fontsize=16))
#This successfully changes
2008 May 02
2
mosaic plot of "vcd" package does not stretch with 2-dimension?
Hi,
I like mosaic function of "vcd" package. I have played around it. I
have found out that mosaic plot data table is 2-dimension does not
stretch when you enlarge a mosaic plot. It is okay when data table is
3 or more dimension. The first one is of 3-dimension table case, and
the second one is 2-dimension. With the first plot, you can drag
window to enlarge a plot. With the
2008 Aug 17
1
how to override/replace a function in a package namespace?
I'm trying to test an extension of mosaic() from the vcd package that
requires a change to the
basic strucplot() function from that package. I want to test my change
by sourcing the
replacement function into my R session.
But when I do that,
source("c:/R/mosaics/strucplot-MF.R")
and run my extension, it is apparent that it is vcd:::strucplot that is
eventually called, not
my
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs,
a new version of the vcd package (0.9-5) is now available from CRAN.
Apart from (a lot of) bug fixes, it includes the following new features
(some of them have 'silently' been included in previous bug fix
releases):
* Improved documentation:
- an introductory vignette on the strucplot framework (including
mosaic, association and sieve plots)
- special vignettes on
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs,
a new version of the vcd package (0.9-5) is now available from CRAN.
Apart from (a lot of) bug fixes, it includes the following new features
(some of them have 'silently' been included in previous bug fix
releases):
* Improved documentation:
- an introductory vignette on the strucplot framework (including
mosaic, association and sieve plots)
- special vignettes on
2011 May 01
1
multiple mosaic plots layout
I would like to display multiple mosaic plots from vcd (not defined by a model but derived from different data sets)
side by side.
Neither par(mfrow=...)
nor layout seem to allow to arrange multiple mosaic plots in a grid.
Is there an easy way of arranging mosaics in a grid?
2006 Jan 27
1
monochrome mosaic plot in vcd package
helpeRs,
I have a nice looking mosaic plot in an article to be published
soon. Sadly, the published version will be in black and white and so ruin
the advantage of the default shading scheme of tiles.
What would readers suggest as an alternative shading scheme? If I have a
black-and-white shading scheme graduated according to suitable cutoffs I
won't be able to tell positive from
2005 Sep 16
1
How to make two figures in one plot - package vcd
Dear all,
I have a problem to make figures with two columns in package vcd.
Here an example code I take from "\library\vcd\html\plot.loglm.html"
What I need, I want to make two figures in one plot.
How could I do that.
I have tried with
layout(rbind(c(1, 1, 2, 2)))
but the same result, two plot.
Best wishes, Muhammad Subianto
library(vcd)
oldpar <- par(mfrow=c(1, 2))
## mosaic
2012 Apr 06
2
Changing grid defaults
I'm trying to use the vcd package to produce mosaic plots for my class
notes, written in Sweave and using the LaTeX's beamer document class.
For projecting the notes in class, I use a dark background with light
foreground colors. It's easy enough to change the defaults for R's
standard graphics to match my color scheme (using the fg, col.axis,
col.lab, col.main, and col.sub
2002 Dec 16
0
new package "vcd" 0.1-3
Dear R users,
there is a new package on CRAN called `vcd' for visualizing categorical
data. It basically implements a set of visualization techniques together
with a large collection of data sets and examples from the book
"Visualizing Categorical Data" by Michael Friendly. By now the features
of the package essentially cover chapters 2-4 from the book:
o fitting and graphing
2002 Dec 16
0
new package "vcd" 0.1-3
Dear R users,
there is a new package on CRAN called `vcd' for visualizing categorical
data. It basically implements a set of visualization techniques together
with a large collection of data sets and examples from the book
"Visualizing Categorical Data" by Michael Friendly. By now the features
of the package essentially cover chapters 2-4 from the book:
o fitting and graphing
2009 May 21
1
vcd package --- change layout of plot
Hello,
I'm trying to use the vcd package to analyze survey data. Expert judges
ranked possible features for product packaging. Seven features were
listed, and 19 judges split between 2 cities ranked them.
The following code (1) works, but the side-by-side plots for Cities PX,
SF are shrunk too much. Stacking PX on top of SF would make for a
better plot. (I could switch the order of
2012 Mar 13
1
Visualising multiple response contingency tables
Dear R Help Community,
I have a question and an answer (based on reading this forum and online
research), but I though I should share both since probably there's a much
better way to go about my solution. My question is specifically about how
to best visualise multiple response contingency tables. What I mean by
'multiple response' is that the total number of responses per row of a