parallelBars: Parallel Barchart

Description Usage Arguments Value Author(s) Examples

Description

Draw a parallel barchart for a general overview of items from a dataset.

Usage

1
parallelBars(n.col = 15, palette = "Blues", direction = 1)

Arguments

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.

Value

Plots parallel bars in a chart with a maximum of 15 items at the x-axis and frequencies on y-axis.

Author(s)

Joschka Cremers

Examples

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")

Kafi1993/Explore documentation built on May 21, 2019, 1:40 a.m.