legend_resbased(fontsize = 12,
x = unit(1, "lines"), y = unit(0.1,"npc"),
height = unit(0.8, "npc"),
width = unit(0.7, "lines"),
digits = 3, check_overlap = TRUE, text = NULL,
steps = 200, ticks = 10, pvalue = TRUE)
legend_fixed(fontsize = 12, x = unit(1, "lines"), y = unit(0.2, "npc"),
height = unit(0.8, "npc"), width = unit(1.5, "lines"),
digits = 3, check_overlap = TRUE, text = NULL)
"unit"
indicating the coordinates
of the title."unit"
indicating the
height/width of the legend.text
argument is specified. Allows strucplot to generate
sensible defaults depending on the residuals type.shadings
.structable
,
shadings
mosaic(Titanic, legend = legend_resbased)
mosaic(Titanic, legend = legend_fixed)
Run the code above in your browser using DataLab