middle_massage | R Documentation |
Re-index the interior of vector by threshold Merge the interior values of a vector if they are less then the provided threshold. Merging will look "up" and "down" the vector and merge into the smaller of the two.
middle_massage(x, ind, thres)
x |
vector of values |
ind |
current index values |
thres |
threshold to evaluate x |
a vector of length(x) containing grouping indexes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.