cut3 | R Documentation |
Hmisc::cut2 bones repackaged to remove errors with importing Hmisc
cut3(
x,
cuts,
m = 150,
g,
digits,
minmax = TRUE,
oneval = TRUE,
onlycuts = FALSE,
formatfun = format,
...
)
x |
numeric vector to classify into intervals. |
cuts |
cut points. |
m |
desired minimum number of observations in a group. The algorithm does not guarantee that all groups will have at least m observations. |
g |
number of quantile groups |
digits |
number of significant digits to use in constructing levels. |
minmax |
if cuts is specified but min(x)<min(cuts) or max(x)>max(cuts), augments cuts to include min and max x |
oneval |
if an interval contains only one unique value, the interval will be labeled with the formatted version of that value instead of the interval endpoints, unless oneval=FALSE |
onlycuts |
set to TRUE to only return the vector of computed cuts. This consists of the interior values plus outer ranges. |
formatfun |
format function |
... |
additional arguments passed to formatfun |
vector of cut
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.