Library: | graphic |
See also: | grbox grdot grhist grdotd grash |
Quantlet: | grbar | |
Description: | generates a barchart. |
Usage: | bp = grbar (x {, col}) | |
Input: | ||
x | n x 1 vector of numbers or text | |
col | (optional) color of the barchart | |
Output: | ||
bp | composed graphical object |
library("graphic") library("plot") t = floor((normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25)) bp = grbar(t,1) plot(bp)
Shows a blue barchart