Tilling over 2D data and related statistics
Contributed by: Anton Antonov
Functions for hexagonal and rectangular tile binning of 2D data. Custom aggregation functions can be specified.
Installation Instructions
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["AntonAntonov/TileStats"]
To load the code after installation, evaluate this code:
Needs["AntonAntonov`TileStats`"]
Details
There are two groups of functions: for binning and for 2D histogram plots.
The results of the binning functions are associations with keys that are polygon objects.
Tile histogram functions produce
Graphics objects.
The option "AggregationFunction" is used to aggregate with custom functions.
Examples
Basic Examples (4)
Create a list of random 2D points:
Bin the points:
Show corresponding histogram (together with the points):
Here is the corresponding rectangular histogram:
Scope (3)
Associate random values to 2D data:
Bin the data rules:
Bin the keys of the data rules:
Custom aggregation function can be specified for the binning process:
Here is geographic data:
Here the corresponding geographic map and hexagonal histogram are plotted together:
Publisher
Anton Antonov
External Links
Version History
- 1.0.2
– 27 April 2023
- 1.0.1
– 27 April 2023
- 1.0.0
– 27 April 2023
MIT License
Paclet Source
See Also