Package: rollupTree 0.4.1
rollupTree: Perform Recursive Computations
Mass rollup for a Bill of Materials is an example of a class of computations in which elements are arranged in a tree structure and some property of each element is a computed function of the corresponding values of its child elements. Leaf elements, i.e., those with no children, have values assigned. In many cases, the combining function is simple arithmetic sum; in other cases (e.g., mass properties), the combiner may involve other information such as the geometric relationship between parent and child, or statistical relations such as root-sum-of-squares (RSS). This package implements a general function for such problems. It is adapted to specific recursive computations by functional programming techniques; the caller passes a function as the update parameter to rollup() (or, at a lower level, passes functions as the get, set, combine, and override parameters to update_prop()) at runtime to specify the desired operations. The implementation relies on graph-theoretic algorithms from the 'igraph' package of Csárdi, et al. (2006 <doi:10.5281/zenodo.7682609>).
Authors:
rollupTree_0.4.1.tar.gz
rollupTree_0.4.1.zip(r-4.7)rollupTree_0.4.1.zip(r-4.6)rollupTree_0.4.1.zip(r-4.5)
rollupTree_0.4.1.tgz(r-4.6-any)rollupTree_0.4.1.tgz(r-4.5-any)
rollupTree_0.4.1.tar.gz(r-4.7-any)rollupTree_0.4.1.tar.gz(r-4.6-any)
rollupTree_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rollupTree/json (API)
| # Install 'rollupTree' in R: |
| install.packages('rollupTree', repos = c('https://jsjuni.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jsjuni/rolluptree/issues
Pkgdown/docs site:https://jsjuni.github.io
- fault_table - Example Fault Tree Data
- fault_tree - Example Fault Tree
- test_dag - Example Directed Acyclic Graph
- wbs_table - Example Work Breakdown Structure Data
- wbs_table_rollup - Example Work Breakdown Structure Data After Rollup
- wbs_tree - Example Work Breakdown Structure Data
Last updated from:99f78ce710. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 133 | ||
| source / vignettes | OK | 196 | ||
| linux-release-x86_64 | OK | 126 | ||
| macos-release-arm64 | OK | 88 | ||
| macos-oldrel-arm64 | OK | 104 | ||
| windows-devel | OK | 101 | ||
| windows-release | OK | 69 | ||
| windows-oldrel | OK | 76 | ||
| wasm-release | OK | 127 |
Exports:create_rollup_treedefault_validate_dagdefault_validate_treedf_get_by_iddf_get_by_keydf_get_idsdf_get_keysdf_get_row_by_iddf_get_row_by_keydf_set_by_iddf_set_by_keydf_set_row_by_iddf_set_row_by_keyrollupupdate_df_prop_by_idupdate_df_prop_by_keyupdate_propupdate_rollupvalidate_df_by_idvalidate_df_by_keyvalidate_ds
Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs
