search for: keep_aspect_ratio

Displaying 3 results from an estimated 3 matches for "keep_aspect_ratio".

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 May 02
1
A horizontal or vertical line draw on mosaic plot?
...======== library(vcd) music = c(210, 194, 170, 110, 190, 406, 730, 290) dim(music) = c(2, 4) dimnames(music) = list(Age = c("Old", "Young"), Education = c("High", "Low", "Upper", "Lower")) mosaic(music, keep_aspect_ratio=FALSE) abline(h=0.5) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new has not been called yet ======================================================== Thank you, Sang Chul
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