pick_color: Select object by cursor and show colors in the console

View source: R/pick_color.R

pick_colorR Documentation

Select object by cursor and show colors in the console

Description

Simply highlight the text in the Source panel and the colors used in the specific object will be output in the console

Usage

pick_color(type = "mosaic", blank.len = 3)

Arguments

type

A character. The style of printing. The default is mosaic. It should be one of the mosaic, ribbon, or m, r

blank.len

A integer. The length of color mosaic. The default value is 3.

Examples


pick_color(type = "mosaic", blank.len = 3)
pick_color(type = "ribbon", blank.len = 3)



seecolor documentation built on March 7, 2023, 6:13 p.m.