| palprint | R Documentation | 
Maybe stolen from Karthik Ram?
palprint(name, n, type = c("discrete", "continuous"))
name | 
 a color palette  | 
n | 
 how many colors to select  | 
type | 
 whether to print the colors as discrete or continuous  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.