Description Usage Arguments Value Author(s) Examples
Draw a parallel barchart for a general overview of items from a dataset.
1 | parallelBars(n.col = 15, palette = "Blues", direction = 1)
|
dframe |
data.frame to be analyzed, typically psychological. |
pattern |
optional, selects those items which match the specified pattern. May also be column-index-values. |
n.col |
specify the maximum number of columns to be drawn. |
palette |
specify a color-palette from RColorBrewer. |
direction |
set to -1 to reverse the color-scheme. |
Plots parallel bars in a chart with a maximum of 15 items at the x-axis and frequencies on y-axis.
Joschka Cremers
1 2 3 4 5 | #Load big5-data from Explore-package
data("big5")
#Draw only Extraversion-items in graph
parallelBars(big5, pattern = "^E", palette = "YlGn")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.