createBar: create a bar plot either single bar for each column or ...

Description Usage Arguments Value

Description

create a bar plot either single bar for each column or ...

Usage

1
2
3
createBar(userToken, data, uniform, color, xlabel, xlabs = NULL,
  single = FALSE, ylims = NULL, grouped = FALSE, grouplabs = NULL,
  groupsets = c(1), legendtitle = "LEGEND")

Arguments

userToken

A user-specific password to show user position on the plot.

data

An input data frame.

uniform

The color of the bars, same for all bars or not.

color

A single color variable or a vector of colors for the plot.

xlabel

The x-axis label.

xlabs

The x-axis tick labels.

single

A boolean variable for single value for bar when TRUE, and mean column values when FALSE. (optional)

ylims

The limits of y axis. (optional)

grouped

A boolean variable for grouped bars. (optional)

grouplabs

A character vector of labels of grouped bars. (optional)

groupsets

An numeric vector showing which column belongs to which group. (optional)

legendtitle

The title of the legend. (optional)

Value

a bar plot.


urwa/shinyscaffold documentation built on May 25, 2019, 8:28 p.m.