display_prod: For displaying which products are selected; avoid...

Description Usage Arguments Value

Description

For displaying which products are selected; avoid overcluttering.

Usage

1
display_prod(x, products_short, p_var, color_cutoff)

Arguments

x

dataframe

products_short

vector of strings, a truncated list of productds avoiding within-brand repetition.

p_var

vector of numerics, the number of different variants each products_short element represents.

color_cutoff

numeric, threshold for pos/neg colors.

Value

HTML code to display the product names succinctly.


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.