The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Initial Situation and Goal

One way to get a view on the structure in categorical data is the mosaic plot. An example of this type of data is the dataset 'Titanic' which is available in the demo data within 'Cornerstone'. A possible result is the following graph.

Mosaic Plot of 'Titanic' data

How do we realize this result in 'Cornerstone' using 'Mosaic Plot' from 'CornerstoneR'?

Cornerstone Workflow

To achieve this result in 'Cornerstone' open a dataset, e.g. 'Titanic' and choose menu 'Analysis' -> 'CornerstoneR' -> 'Mosaic Plot' as shown in the following screenshot.

Mosaic Plot: Menu

In the appearing dialog select variable 'pclass' and 'age' to predictors. 'sex' and 'survived' are the response variables.

Mosaic Plot: Variable Selection

'OK' confirms your selection and the following window appears.

Mosaic Plot: R Script

Now, click the execute button (green arrow) or choose the menu 'R Script' -> 'Execute' and all calculations are done via 'R'. Calculations are done if the text at the lower left status bar contains 'Last execute error state: OK'. Our result is available via the menu 'Graphs' -> 'Mosaic Plot (PNG)' or 'Mosaic Plot (EMF)' as shown in the following screenshot.

Mosaic Plot: Result Menu

After clicking this menu a 'Cornerstone' graph with the mosaic plot from R opens.

Mosaic Plot: Result Graph

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.