Learn R Programming

mdatools (version 0.7.0)

bars: Show bars on axes

Description

Shows bars (bar plot) on predefined axes

Usage

bars(x, y, col = NULL, bwd = 0.8, border = NA)

Arguments

x
vector with x values (centers of bars)
y
vector with y values (height of bars)
col
colors of the bars
bwd
width of the bars (as a ratio for max width)
border
color of bar edges