bwplot | R Documentation |
Create a box and whisker plot for a numerical variable.
bwplot(x, data, color = "blue", ...)
x |
Formula. An expression of the form |
data |
Data frame. The data where the variables can be found. |
data(cdc)
bwplot(~height, data = cdc)
bwplot(~height | gender, data = cdc)
bwplot(gender ~ height, data = cdc)
bwplot(height ~ gender, data = cdc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.