strucplot returning a function
producing sieve plots.struc_sieve(sievetype = c("observed","expected"), gp_tile = gpar())observed or expected frequencies."gpar", controlling the
appearance of all static
elements of the cells (e.g., border and fill color).struc_sieve."unit" specifying the space
between the tiles.gpar objects used for the drawing the tiles.strucplot (typically
when called by sieve) and returns a function used by
strucplot to produce sieve plots.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
vignette("strucplot").
sieve,
strucplot,
structable## Titanic data
data("Titanic")
strucplot(Titanic, core = struc_sieve)Run the code above in your browser using DataLab