make_gmr_highlight_key: Make a key for highlighted geometric mean ratios for DDIs in...

View source: R/set_boundary_colors.R

make_gmr_highlight_keyR Documentation

Make a key for highlighted geometric mean ratios for DDIs in a table

Description

Make a key for highlighted geometric mean ratios for DDIs in a table

Usage

make_gmr_highlight_key(highlight_gmr_colors)

Arguments

highlight_gmr_colors

a set of colors for highlighting geometric mean ratios for DDIs. Options are "yellow to red", "green to red", "traffic" (a more vivid version of "green to red"), or a vector of 4 colors of your choosing.

Value

a flextable for use as a key for which colors mean what GMR cutoff

Examples

make_gmr_highlight_key("yellow to red")


shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.