Create an empty, mutable org.dianahep.histogrammar.Categorizing.
Create an empty, mutable org.dianahep.histogrammar.Categorizing.
Numerical function to split into bins.
New value (note the =>
: expression is reevaluated every time a new value is needed).
Help text that can be queried interactively: more detail than help
.
Help text that can be queried interactively: more detail than help
. (FIXME: currently only contains the apply
signature.)
Create an immutable org.dianahep.histogrammar.Categorized from arguments (instead of JSON).
Create an immutable org.dianahep.histogrammar.Categorized from arguments (instead of JSON).
Weighted number of entries (sum of all observed weights).
Name of the intended content; used as a placeholder in cases with zero bins (due to no observed data).
String category and the associated container of values associated with it.
Reconstructs a container of known type from JSON.
Reconstructs a container of known type from JSON. General users should call the Factory
object's fromJson
, which uses header data to identify the container type. (This is called by fromJson
.)
Help text that can be queried interactively: a one-liner that can be included in a menu.
Help text that can be queried interactively: a one-liner that can be included in a menu.
Synonym for apply
.
Name of the concrete Factory
as a string; used to label the container type in JSON.
Name of the concrete Factory
as a string; used to label the container type in JSON.
Split a given quantity by its categorical value and fill only one category per datum.
A bar chart may be thought of as a histogram with string-valued (categorical) bins, so this is the equivalent of org.dianahep.histogrammar.Bin for bar charts. The order of the strings is deferred to the visualization stage.
Unlike org.dianahep.histogrammar.SparselyBin, this aggregator has the potential to use unlimited memory. A large number of distinct categories can generate many unwanted bins.
Factory produces mutable org.dianahep.histogrammar.Categorizing and immutable org.dianahep.histogrammar.Categorized objects.