Description Usage Arguments Value See Also Examples
Apply a cap value of a specified color to numeric variables, either by replacing them with 'NA', or flagging them in a new column.
1 |
dataset |
Data set for which to apply the cap to |
var_qt |
Character; the variable of interest (in quotation marks) for which to apply the cap |
cap_value |
Numeric; the value of the specified variable ( |
cap_color |
Character; the color which will be applied to values at or above |
type |
Character choice: "filter" or "flag"; the former will replace values at or above |
Series of visualization options to apply a discrete color cap to a continuous variable:
Dataset with the values at or above the cap value either replaced with 'NA's or flagged (see type
argument above).
Character value which will include information of the cap value and color.
Guide (see guides) containing fill and color arguments to allow the color cap to remain seprate in the legend.
Other visualization settings:
drop_incomplete()
,
settings_dt_scale()
,
settings_shapes()
,
settings_units()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.