add_custom_color: Customise the colors that correspond to particular features

Description Usage Arguments Value

Description

This function works for either continuous or discrete scale

Usage

1
add_custom_color(feature_vec, aes_param, more_prec = 0.2, color_fill = T)

Arguments

feature_vec

a vector of features for which colors will be assigned

color_fill

whether scale_color_* or scale_fill_* is used

Value

a scale_* object


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.