The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Provides multi-level discrete representations of data dimensions for modeling, data processing and visualization. A nested scale records its finest units (atoms) and their membership in coarser levels (frames), including nested, cross-cutting and partially covered relationships. Recasts tabular data between levels using explicit, direction-aware rules for sums, means, standard deviations, copying and within-parent shares. Also supports labeling, subsetting, combining scales into multi-dimensional indexes, clustering units and storing data with its scale metadata. Members may carry attributes (a calorific value, an emission factor) and aliases, resolved along the hierarchy and applied row by row, and a scale is exchanged as a language-neutral definition file: a 'JSON' header with inline, 'Arrow' or 'CSV' tables ('YAML' accepted), with a catalogue of the definitions installed packages ship. Forms the dimension-agnostic core of 'timescales' <https://github.com/optimal2050/timescales> (calendars) and 'geoscales' <https://github.com/optimal2050/geoscales> (regions), designed for optimization and simulation models.
| Version: | 0.2.0 |
| Depends: | R (≥ 4.2) |
| Imports: | dplyr, jsonlite, rlang, S7, stats, utils |
| Suggests: | arrow, cluster, data.table, dtplyr, ggplot2, knitr, pkgdown, rmarkdown, testthat (≥ 3.0.0), tibble, withr, yaml |
| Published: | 2026-11-03 |
| DOI: | 10.32614/CRAN.package.nestedscales (may not be active yet) |
| Author: | Oleg Lugovoy |
| Maintainer: | Oleg Lugovoy <olugovoy at optimalsolution.dev> |
| BugReports: | https://github.com/optimal2050/nestedscales/issues |
| License: | Apache License (≥ 2) |
| URL: | https://optimal2050.github.io/nestedscales/r/, https://github.com/optimal2050/nestedscales |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | nestedscales results |
| Reference manual: | nestedscales.html , nestedscales.pdf |
| Vignettes: |
The NestedScale object (source, R code) Attributes, aliases and conversion (source, R code) Get started with nestedscales (source, R code) |
| Package source: | nestedscales_0.2.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: nestedscales_0.2.0.zip, r-oldrel: nestedscales_0.2.0.zip |
| macOS binaries: | r-release (arm64): nestedscales_0.2.0.tgz, r-oldrel (arm64): nestedscales_0.2.0.tgz, r-release (x86_64): nestedscales_0.2.0.tgz, r-oldrel (x86_64): nestedscales_0.2.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=nestedscales to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.