bar.colors: Color palette for barplots

Description Usage Arguments Details Value Author(s) Examples

View source: R/base.R

Description

A nice color palette for barplots with several bars.

Usage

1

Arguments

n

the number of colors to be in the palette.

Details

This function can be used to select colors for bar plots.

Value

a character vector containing different color names that can be used for barplots.

Author(s)

Hajk-Georg Drost

Examples

1
2
# get 5 different colors for 5 different bars
barplot_colors <- bar.colors(5)


myTAI documentation built on May 19, 2017, 10:16 a.m.
Search within the myTAI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.