Learn R Programming

telescope (version 0.2-1)

plotBubble: Plot multivariate categorical data.

Description

Plots of the level combinations of pairs of variables are created where the size of the circle indicating a level combination is proportional to the frequency of the level combination.

Usage

plotBubble(x, bg = "grey")

Value

NULL

Arguments

x

A matrix or data.frame; the data consisting of categorical variables.

bg

If specified, the symbols are filled with colour(s), the vector bg is recycled to the number of observations. The default is to fill the symbols with grey color.

Examples

Run this code
with(chickwts, plotBubble(data.frame(cut(weight, 100 * 1:5), feed)))

Run the code above in your browser using DataLab