powered by
Shiny app for creating a Mosaic plot with interactive variable selection.
smosaic(data, xvar = character(0), yvar = character(0), ...)
table or data.frame
character: names of selected variables for x-axis
character: names of selected variables for y-axis
further parameters given to graphics::mosaicplot()
graphics::mosaicplot()
nothing
# NOT RUN { if (interactive()) smosaic(Titanic) dfTitanic <- table2dataframe(Titanic) if (interactive()) smosaic(dfTitanic) # }
Run the code above in your browser using DataLab