Description Usage Arguments Value
View source: R/cut_and_reorder.R
Reorder a variable quickly for a regression.
1 | cut_and_reorder(x, cut.seq = c(-Inf, seq(0, 40, 5), Inf), omit = 22.5)
|
x |
Numeric vector. |
cut.seq |
(Optional) Numeric vector to pass to cut |
omit |
(Optional) Bin with this number will be placed first in vector. |
Factorized version of x, with given sequence and omitted level first.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.