Whether or not a vector is a diverges a value, returns a logical. Used to help default a scale_color for ggplot2.
Arguments
- x
A vector to check the divergence of.
- mid_pt
A single number checking divergence from. Defaults to 0.
See also
Other cheem utility:
as_logical_index()
,
color_scale_of()
,
contains_nonnumeric()
,
is_discrete()
,
linear_tform()
,
logistic_tform()
,
problem_type()
,
rnorm_from()
,
sug_basis()
,
sug_manip_var()