showCols: Generate a plot of color names which R knows about.

Description Usage Arguments Value Author(s) References See Also Examples

Description

Generate R color names.

Usage

1
showCols(cl = colors(), bg = "grey", cex = 0.75, rot = 30)

Arguments

cl

A vector of colors to plot. Default value is the list of color names returned by R color() function.

bg

Background color of the plot

cex

The size of the text.

rot

The rotation angle of the text

Value

a ggplot

Author(s)

Alboukadel Kassambara <alboukadel.kassambara@gmail.com>

References

http://www.sthda.com

See Also

generateRLineTypes, generateRPointShapes

Examples

1
2
col=colors() #list of color names
showCols(col[1:100]) #plot the first 100 colors

YTLogos/easyGgplot2 documentation built on May 3, 2019, 9:03 p.m.