search for: gp_main

Displaying 1 result from an estimated 1 matches for "gp_main".

Did you mean: p_main
2012 May 02
0
adding a caption to a mosaic plot?
...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_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 Pr...