imosaic {iplots} | R Documentation |
This function creates a new interactive mosaic plot from the given data.
imosaic(vars, ..., type="observed")
vars |
list of variables/factors or a single variable/factor |
... |
All additional parameters are passed to
iplot.opt . All unnamed parameters are treated as
variables to display.
|
type |
selects the variation of the mosaic plot. Valid values are "observed", "expected", "fluctuation", "same.bin.size" and "multiple.barchart". Partial matching is used, so first letter is sufficient. |
Additional parameters:
iplot.opt
.Resulting plot object.
ihist
, ibar
, iplot.list
,
iplot.opt
library(MASS) data(Cars93) attach(Cars93) imosaic(AirBags,Cylinders,Origin) imosaic(AirBags,Cylinders,Origin,type="mul") iplot.location(300,100,TRUE)