Description Usage Arguments Value
This is a helper function that recode a numeric vector into categories. by default those categories are: positive, no change, negative
1 2 |
vector |
numeric vector to be recoded |
my_breaks |
either a numeric vector of two or more unique cut points or a single number (greater than or equal to 2) giving the number of intervals into which x is to be cut. |
my_labels |
labels for the levels of the resulting category. By default, labels are constructed using "(a,b]" interval notation. If labels = FALSE, simple integer codes are returned instead of a factor. |
right |
logical, indicating if the intervals should be closed on the right (and open on the left) or vice versa. |
... |
further arguments passed to or from other methods. See |
factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.