Displaying 1 result from an estimated 1 matches for "labeling_values".
2012 May 02
0
adding a caption to a mosaic plot?
...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_varnames=gpar(cex=1.5), labeling_values=c('observed')))
labeling_cells(text=round(prop.table(mosaic_1, 1)*100), gp_text=gpar(ces=2), clip=FALSE)(mosaic_1)
*********************************
Simon J. Kiss, PhD
Assistant Professor, Wilfrid Laurier University
73 George Street
Brantford, Ontario, Canada
N3T 2C9
Cell: +1 905 746 7606