subscale_identity {ggdist} | R Documentation |
Identity sub-scale for thickness aesthetic
Description
This is an identity sub-scale for the thickness
aesthetic
in ggdist. It returns its input as a thickness vector without
rescaling. It can be used with the subscale
parameter of
geom_slabinterval()
.
Usage
subscale_identity(x)
Arguments
x |
<numeric> Vector to be rescaled.
Typically provided automatically by |
Value
A thickness vector of the same length as x
, with infinite
values in x
squished into the data range.
See Also
Other sub-scales:
subscale_thickness()
[Package ggdist version 3.3.3 Index]