Description Usage Arguments Value Author(s) References See Also
bargraph
Display a bar graph of frequency distribution.
#'
1 |
xvar |
As numbers, factors or text. |
title |
As character : main title |
ylab |
Y Axis label |
color |
Colors can be specified as color eg "red" "blue" or as a hexadecimal RGB triplet, such as "#0066CC". The first two digits are the level of red, the next two green, and the last two blue. The value for each ranges from 00 to FF in hexadecimal (base-16) notation, which is equivalent to 0 and 255 in base-10. For example, “#FFFFFF” is white and “#990000” is a deep red. |
An array containing resulting graph #' @examples bargraph(c(3,1,2,2,5))
Gilles Desve
Based on: Epi6 and Stata functionnality, available at https://github.com/.
histogram
for bar graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.