tableplot directly. New in version 1.2 is the argument numMode, which determines how numeric variables are plot.
"plot"(x, fontsize = 10, legend.lines = 8, max_print_levels = 15, text_NA = "missing", title = NULL, showTitle = NULL, fontsize.title = 14, showNumAxes = TRUE, rotateNames = NA, relative = FALSE, numMode = "mb-sdb-ml", vp = NULL, ...)
"plot"(x, ...)showTitle==TRUE)FALSE, unless a title is given.TRUE by default).TRUE, they are rotated 90 degrees. By default, column names are rotated when the number of columns is greater than 15.TRUE, then mean.diff.rel<-(mean2-mean1)/mean1*100 are used. If FALSE, then the absolute diference is taken: mean <- mean2-mean.sdbsdlmbMBmlMLmean2viewport to draw plot in (for instance useful to stack multiple tableplots)# load diamonds dataset from ggplot2
require(ggplot2)
data(diamonds)
tab <- tableplot(diamonds)
plot(tab, title="Shine on you Crazy Diamond!!!",
fontsize=12,
legend.lines=7,
fontsize.title=16)
Run the code above in your browser using DataLab