smosaic {smvgraph}R Documentation

smosaic

Description

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

Usage

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

if (interactive()) smosaic(Titanic)
dfTitanic <- table2dataframe(Titanic)
if (interactive()) smosaic(dfTitanic)

[Package smvgraph version 0.1.2 Index]