classint | R Documentation |
Create vector with Interval Class from classIntervals functions
classint(
var,
n,
style = "quantile",
labels = NULL,
include.lowest = T,
brks = NULL
)
var |
numeric: variable to apply class intervals. |
n |
int: number of intervals. |
style |
chr: breaks style. chosen style: one of "fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", or "jenks". Default: "quantile". |
labels: |
chr vector with labels for class. |
include.lowest: |
logical, indicating if an ???x[i]??? equal to the lowest |
brks: |
vector of the same length of n with breaks numbers. Work in the same way that argument breaks from cut function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.