Description Usage Arguments Details Value Examples
Create a bar plot of count (frequency) data that is stored in a data.frame or table.
1 |
x |
A data.frame or table. See 'Details' for more information. |
... |
Extra parameters to pass to the barplot. Any parameter that
|
The argument to this function is expected to be either a data.frame or a table.
If a data.frame is provided, it must have exactly two columns: the first column contains the of unique values in the data, and the second column is the corresponding integer frequencies to each value.
If a table is provided, it must have exactly one row: the rownames are the unique values in the data, and the row values are the corresponding integer frequencies to each value.
A ggplot2 object that can have more layers added onto it.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.