Pairs plot panel functions for diagonal cells {vcd} | R Documentation |
Diagonal panel functions for pairs.table
.
pairs_barplot(gp_bars = gpar(fill = "gray"), gp_vartext = gpar(fontsize = 17), gp_leveltext = gpar(), ...) pairs_text(dimnames = TRUE, gp_vartext = gpar(fontsize = 17), gp_leveltext = gpar(), gp_border = gpar(), ...)
dimnames |
vector of logicals indicating whether the factor
levels should be displayed (only used for pairs_text ). |
gp_bars |
object of class "gpar" used for bars (only used
for pairs_barplot ). |
gp_vartext |
object of class "gpar" used for the factor
names. |
gp_leveltext |
object of class "gpar" used for the factor
levels. |
gp_border |
object of class "gpar" used for the border
(only used for pairs_text ). |
... |
other parameters passed to the underlying graphics functions. |
In the diagonal cells, the pairsplot visualizes statistics or
information for each dimension (that is: the single factors) alone.
pairs_text
displays the factor's name, and optionally
also the factor levels. pairs_barplot
produces a barplot
of the corresponding factor, along with the factor's name.
A function with one argument: the marginal table for the corresponding dimension.
David Meyer David.Meyer@R-project.org
pairs.table
,
pairs_assoc
,
pairs_mosaic
data(UCBAdmissions) pairs(UCBAdmissions) # pairs_barplot is default pairs(UCBAdmissions, diag_panel = pairs_text)