You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `extend::Bool=false`: when `false`, an error is raised if some values in `x` fall
57
64
outside of the breaks; when `true`, breaks are automatically added to include all
58
65
values in `x`, and the upper bound is included in the last interval.
59
-
* `labels::AbstractVector=[]`: a vector of strings giving the names to use for the
60
-
intervals; if empty, default labels are used.
61
-
* `label_formatter::Function`: a function `f(from,to;extend=false)` that generates the labels from the left and right interval boundaries. Defaults to `string("[", from, ", ", to, extend ? "]" : ")")`, e.g. `"[1, 5)"`.
66
+
* `labels::Union{AbstractVector,Function}=_default_formatter_`: a vector of strings giving the names to use for the
67
+
intervals; or a function `f(from,to,i;extend=false)` that generates the labels from the left and right interval boundaries and the group index. Defaults to `string("[", from, ", ", to, extend ? "]" : ")")`, e.g. `"[1, 5)"`.
62
68
* `allow_missing::Bool=true`: when `true`, values outside of breaks result in missing values.
0 commit comments