search for: legend_width

Displaying 4 results from an estimated 4 matches for "legend_width".

2006 Dec 06
2
vcd package, assoc()
...ssoc> (x <- margin.table(HairEyeColor, c(1, 2))) Eye Hair Brown Blue Hazel Green Black 68 20 15 5 Brown 119 84 54 29 Red 26 17 14 14 Blond 7 94 10 16 assoc> assoc(x) Error in unit.c(mar[4], unit(1, "null"), mar[2], legend_width) : It is invalid to combine unit objects with other types Version info output by citation("vcd") is 1.0-1. Any idea about what's going wrong? Thanks for any help. -- Nicolas Mazziotta The contents of this e-mail, including any attachments, are confidential and are int...
2008 Sep 26
2
adjusting textsize and spacing in mosaic (vcd package)
...=16)) #This successfully changes most of the text sizes, but not the numbers on the legend scale mosaic(HairEyeColor, shade = TRUE, labeling_args=list(gp_labels=gpar(fontsize=16), gp_varnames=gpar(fontsize=18)), legend_args=list(fontsize=16), margins=unit(4, "lines"), legend_width=unit(7, "lines")) How do I change the size of the text on the legend scale? Also, is there a way to change all the font sizes at once? Regards, Richie. Mathematical Sciences Unit HSL ------------------------------------------------------------------------ ATTENTION: This message c...
2006 Jan 27
1
monochrome mosaic plot in vcd package
....3 <- gl(2,4,8, labels = LETTERS[5:6]) cell.count <- c(72, 19, 5, 8, 117, 115, 81, 85) mosaic(loglm(formula = cell.count ~ term.1 + term.2 + term.3), shade = TRUE, gp = shading_hcl, legend = TRUE, labeling_args = list(rot_labels = rep(0,4)), gp_args = list(lty = 1:2),legend_width = unit(0.2, "npc")) ------------------------------------------------------------ Dr Michael Townsley Senior Research Fellow Jill Dando Institute of Crime Science University College London Second Floor, Brook House London, WC1E 7HN Phone: 020 7679 0820 Fax: 020 7679 0828 Email: m.towns...
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...st of the text sizes, but not the numbers on > the legend scale > mosaic(HairEyeColor, shade = TRUE, > labeling_args=list(gp_labels=gpar(fontsize=16), > gp_varnames=gpar(fontsize=18)), > legend_args=list(fontsize=16), > margins=unit(4, "lines"), > legend_width=unit(7, "lines")) > > How do I change the size of the text on the legend scale? > > Also, is there a way to change all the font sizes at once? For mailing list posterity, the workaround that was sent to me off-list is to set the pointsize argument on the device, for examp...