| head.colors | R Documentation |
Returns the first part of a colors object, similar to head() for data frames.
## S3 method for class 'colors'
head(x, n = 6L, ...)
x |
A colors object (data frame with color information). |
n |
Number of rows to return. Default is |
... |
Additional arguments passed to |
A colors object with the first n rows.
head(get_colors())
head(get_colors(), n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.