pth_n_color | R Documentation |
Number of colors
pth_n_color(color, ...) ## Default S3 method: pth_n_color(color, ...) ## S3 method for class 'character' pth_n_color(color, ...) ## S3 method for class 'pth_hex' pth_n_color(color, ...) ## S3 method for class 'pth_mat' pth_n_color(color, ...)
color |
|
... |
other args (not used) |
integer
number of colors
pth_n_color(c("#000000", "#663399", "#FFFFFF"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.