annotate_key: annotate_key

Description Usage Arguments Value Examples

View source: R/annotate_key.R

Description

Adds key annotations that correspond to the bin's position on the x-axis

Usage

1

Arguments

key

a key created by Vizumap::build_bkey

Value

the key with annotations; of class "bivkey"

Examples

1
2
3
4
5
6
out = st_assign_colors(tmax, 1, tmin, 1, terciles = TRUE)
data = out$data
colors = out$colors

key = Vizumap::build_bkey(data, colors, terciles = TRUE)
annotate_key(key)

JamesMCollier/densityviz documentation built on Dec. 18, 2021, 12:31 a.m.