ScalesBuild a scale and read its structure. |
|
|---|---|
Build a NestedScale from a flat table of atoms |
|
A small example NestedScale |
|
A second small example NestedScale |
|
NestedScale (S7 class) |
|
The scale classes, for subclassing and dispatch |
|
Is this a scale, or a product of scales? |
|
Frames of a NestedScale |
|
Units of a NestedScale |
|
The atom key column name |
|
|
|
The leaftable of a NestedScale |
Weight columns of a NestedScale |
|
Frame rank |
|
The level at which a scale enumerates its atoms |
|
Units that are residuals |
|
Validate frame names |
|
|
|
Summarize a NestedScale |
Subset a NestedScale |
|
Navigation and sharesMove between frames and report what a unit holds. |
|
|
|
Navigate a NestedScale's hierarchy |
Immediate parent-child table between two frames |
|
Ancestry between all frame pairs |
|
Do two frames nest? |
|
Do two frames form a product? |
|
Are the units of a frame the same size? |
|
Weight shares within a frame |
|
Coverage of a sampled NestedScale |
|
Subsetting |
|
Subset a NestedScale by unit |
|
Collapse a NestedScale to a coarser frame |
|
ConversionRecast data between resolutions, attach labels, and declare rules. |
|
Recast values from one resolution to another |
|
Recast data through a scale |
|
Recast unit data down to the atom layer, and back |
|
Recast values through a given crosswalk |
|
Attach scale labels and memberships to a dataset |
|
Check fine data against an independent parent total |
|
Supported aggregation rules |
|
Register how a parameter should be recast |
|
Look up a registered rule |
|
List registered rules |
|
Clear the rule registry |
|
CrosswalksThe map behind every conversion, and the registry of exact ones. |
|
Crosswalk between two frames of a scale |
|
Crosswalk between two scales through their shared atoms |
|
|
|
Register / look up a direct crosswalk |
Clear the registered crosswalks |
|
Products of scalesSeveral scales as one multi-index. |
|
Combine scales into a product index |
|
A product of several scales (S7 class) |
|
Axes of a product |
|
Size of a product |
|
The data key column of each axis |
|
Frames of each axis |
|
Weight columns of each axis |
|
Coverage of each axis |
|
Realise the atoms of a product |
|
Recast data indexed by a product of scales |
|
Attach every axis's labels to product-indexed data |
|
Subset a product componentwise |
|
|
|
Summarize a product |
ClusteringGroup units by their data into a new, coarser frame. |
|
Cluster the units of a scale into a new frame |
|
Cluster the units of a scale under a contiguity constraint |
|
The representative unit of each cluster |
|
Cluster quality across a range of k |
|
Distance between the units of a scale |
|
Built-in distances |
|
|
|
Register a distance |
Arrays and storage |
|
Data on scales as a dense array |
|
Write data and the scales that index it to one folder |
|
Open a scale-aware dataset |
|
Describe a stored dataset without opening it fully |
|
Building a dimension packageHooks and helpers for packages that subclass NestedScale. |
|
An alias property for a subclass |
|
The dimension vocabulary of a scale |
|
Subset a subclass's per-atom payload |
|
Atom-level correspondence between two frames |
|
Package |
|
nestedscales: Nested Scales and Multi-Dimensional Indexes for Modeling |
|