Description Usage Arguments Value Author(s) See Also Examples
Three types of labels (levels) are supported: “cut.default” (Interval
labels returned by cut
as default), “left” (Left boundary of
intervals), and “right” (Right boundary of intervals).
1 2 3 4 5 6 7 8 9 10 |
x |
A vector of numbers |
step |
Step size. |
labelOption |
How is the label displayed.See |
include.lowest |
Logical, passed to |
right |
Logial, passed to |
dig.lab |
See |
ordered_result |
See |
... |
Other parameters that are passed to |
A vector of factors
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 5 | testNum <- rnorm(100)
(testFac <- cutInterval(testNum, step=1, labelOption="cut.default"))
## compare the result to
(testFacCut <- cut(testNum, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.