rmClose | R Documentation |
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.
rmClose(x, minfrac = 0.05)
x |
a numeric vector with no |
minfrac |
minimum allowed spacing between consecutive ordered |
a sorted numeric vector of non-close values of x
Frank Harrell
rmClose(c(1, 2, 4, 47, 48, 49, 50), mindist=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.