rmClose {Hmisc} | R Documentation |
rmClose
Description
Remove close values from a numeric vector that are not at the outer limtis. This is useful for removing axis breaks that overlap when plotting.
Usage
rmClose(x, minfrac = 0.05)
Arguments
x |
a numeric vector with no |
minfrac |
minimum allowed spacing between consecutive ordered |
Value
a sorted numeric vector of non-close values of x
Author(s)
Frank Harrell
Examples
rmClose(c(1, 2, 4, 47, 48, 49, 50), minfrac=0.07)
[Package Hmisc version 5.2-3 Index]