Core-generating Function for Sieve Plots
Core-generating function for strucplot
returning a function
producing sieve plots.
struc_sieve(sievetype = c("observed","expected"), gp_tile = gpar(), scale = 1)
sievetype |
logical indicating whether rectangles should be filled
according to |
gp_tile |
object of class |
scale |
Scaling factor for the sieve. |
A function with arguments:
residuals |
table of residuals. |
observed |
table of observed values. |
expected |
not used by |
spacing |
object of class |
gp |
list of |
split_vertical |
vector of logicals indicating, for each dimension of the table, the split direction. |
David Meyer David.Meyer@R-project.org
Riedwyl, H., and Schüpbach, M. (1994), Parquet diagram to plot contingency tables. In F. Faulbaum (ed.), Softstat '93: Advances in Statistical Software, 293–299. Gustav Fischer, New York.
Friendly, M. (2000), Visualizing Categorical Data, SAS Institute, Cary, NC.
Meyer, D., Zeileis, A., and Hornik, K. (2006),
The strucplot framework: Visualizing multi-way contingency tables with
vcd.
Journal of Statistical Software, 17(3), 1-48.
doi: 10.18637/jss.v017.i03 and available as
vignette("strucplot")
.
## Titanic data data("Titanic") strucplot(Titanic, core = struc_sieve)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.