Displaying 1 result from an estimated 1 matches for "mosaic_1".
Did you mean:
mosaic
2012 May 02
0
adding a caption to a mosaic plot?
...the font and size for that function as well. My plot looks roughly as below.
Thank you for your time!
Simon J. Kiss
mydat<-data.frame(gender=factor(rbinom(100, 1, 0.5), labels=c('female', 'male')), hair=factor(rbinom(100, 1, 0.5), labels=c('blonde', 'black')))
mosaic_1<-table(mydat)
mosaic(mosaic_1, gp=shading_hsv, main='my title', pop=FALSE, split_vertical=FALSE, margins=c(4.1, 2.1, 8, 5.1), labeling_args=list(rot_labels=c(left=0), offset_labels=c(left=3), gp_main=gpar(cex=2), offset_varnames=c(left=5.5), gp_labels=gpar(cex=1.5), gp_varn...