barplot {charts} R Documentation

Bar Plots

Description


Creates a bar plot with vertical or horizontal bars.

Usage

barplot(height,
    category = "item",
    value = "value",
    color = "color",
    min = "min",
    max = "max",
    title = "Histogram Plot",
    xlab = "X",
    ylab = "Y",
    bg = "white",
    size = "1920,1080",
    padding = "padding:100px 100px 100px 100px;",
    show.grid = TRUE,
    show.legend = TRUE);

Arguments

height

either a vector or matrix of values describing the bars which make up the plot. If height is a vector, the plot consists of a sequence of rectangular bars with heights given by the values in the vector. If height is a matrix and beside is FALSE then each bar of the plot corresponds to a column of height, with the values in the column giving the heights of stacked sub-bars making up the bar. If height is a matrix and beside is TRUE, then the values in each column are juxtaposed rather than stacked. [as dataframe]

category$

-

value$

-

color$

-

min$

-

max$

-

title

overall And sub title for the plot. [as string]

xlab

a label for the x axis. [as string]

ylab

a label For the y axis. [as string]

bg

-

size

-

padding

-

show.grid

[as boolean]

show.legend

[as boolean]

Details

Authors

graphics

Value

the plot image

clr value class

Examples


[Package charts version 1.0.0.0 Index]