smosaic: smosaic

Description Usage Arguments Value Examples

View source: R/smosaic.R

Description

Shiny app for creating a Mosaic plot with interactive variable selection.

Usage

1
smosaic(data, xvar = character(0), yvar = character(0), ...)

Arguments

data

table or data.frame

xvar

character: names of selected variables for x-axis

yvar

character: names of selected variables for y-axis

...

further parameters given to graphics::mosaicplot()

Value

nothing

Examples

1
2
3
if (interactive()) smosaic(Titanic)
dfTitanic <- table2dataframe(Titanic)
if (interactive()) smosaic(dfTitanic)

smvgraph documentation built on Nov. 9, 2021, 9:06 a.m.