Package 'seecolor'

Title: View Colors Used in R Objects in the Console
Description: Output colors used in literal vectors, palettes and plot objects (ggplot).
Authors: Shangchen Song [aut, cre]
Maintainer: Shangchen Song <[email protected]>
License: MIT + file LICENSE
Version: 0.2.0
Built: 2025-01-25 02:48:22 UTC
Source: https://github.com/lovestat/seecolor

Help Index


Open the sample test file

Description

Open the sample test file

Usage

open_sample()

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)

Pick Color as Mosaic

Description

Run pick_color(type = 'mosaic') as addin, you may not run this directly by code, since it comes without arguments

Usage

z_pick_color_addin_mosaic()

Pick Color as Ribbons

Description

Run pick_color(type = 'ribbon') as addin, you may not run this directly by code, since it comes without arguments

Usage

z_pick_color_addin_ribbon()