Package: dist.structure 0.5.0
dist.structure: Structured Random Variables for Reliability System Distributions
Extends the 'algebraic.dist' distribution algebra to random variables with internal structure: coherent reliability systems decomposed into components arranged by a structure function (series, parallel, k-out-of-n, bridge, and arbitrary topologies via minimal path sets). Every 'dist_structure' object is a 'dist', so the full distribution algebra (mean, vcov, sampler, surv, cdf) works automatically via default methods that compose component-level distributions through the topology. Adds structural queries: structure function evaluation, minimal path and cut sets, system signature, critical states, dual, Birnbaum structural importance, and system reliability. Topology shortcut constructors (series_dist, parallel_dist, kofn_dist, bridge_dist) produce ready-to-use dists from component dists and a chosen structure.
Authors:
dist.structure_0.5.0.tar.gz
dist.structure_0.5.0.tar.gz(r-4.7-any)dist.structure_0.5.0.tar.gz(r-4.6-any)
dist.structure_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
dist.structure/json (API)
NEWS
| # Install 'dist.structure' in R: |
| install.packages('dist.structure', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/queelius/dist.structure/issues
Last updated from:384296a34d. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 204 | ||
| linux-release-x86_64 | OK | 131 | ||
| wasm-release | OK | 108 |
Exports:as_dist_structurebirnbaum_importancebridge_distcoherent_distcold_standby_distcomponentcompose_systemsconsecutive_k_distcritical_statescriticality_importancedualexp_kofnexp_parallelexp_seriesgamma_seriesis_coherentis_dist_structurekofn_distlognormal_seriesmax_iidmin_cutsmin_iidmin_pathsncomponentsorder_statisticparallel_distphireliabilityseries_diststructural_importancesubstitute_componentsystem_censoringsystem_lifetimesystem_signaturevalidate_dist_structurevesely_fussell_importancewei_homogeneous_serieswei_kofnwei_series
Dependencies:algebraic.distmvtnormR6
Coherent systems
Rendered fromcoherent-systems.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Composition and substitution
Rendered fromcomposition.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Distribution interface
Rendered fromdistribution-interface.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Getting started with dist.structure
Rendered fromgetting-started.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Implementing a dist_structure subclass
Rendered fromimplementing-a-subclass.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Importance measures
Rendered fromimportance-measures.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Non-coherent systems: cold standby
Rendered fromnon-coherent.Rmdusingknitr::rmarkdownon May 12 2026.Last update: 2026-05-12
Started: 2026-05-12
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Coerce to dist_structure | as_dist_structure as_dist_structure.dist as_dist_structure.dist_structure |
| Birnbaum reliability importance | birnbaum_importance birnbaum_importance.dist_structure |
| Bridge system distribution | bridge_dist |
| Coherent system distribution from minimal path sets | coherent_dist |
| Cold-standby system distribution | cdf.cold_standby_dist cold_standby_dist sampler.cold_standby_dist surv.cold_standby_dist |
| The j-th component as a dist | component |
| Compose systems hierarchically | compose_systems compose_systems.dist_structure |
| Consecutive-k-out-of-n system distribution (type G) | consecutive_k_dist |
| Critical states of a component | critical_states critical_states.dist_structure |
| Criticality (Fussell) importance at time t | criticality_importance criticality_importance.dist_structure |
| Dual of a coherent_dist: swap cuts and paths | dual dual.coherent_dist dual.dist_structure dual.dual_of_system |
| k-out-of-n system of independent exponential components (closed form) | density.exp_kofn exp_kofn hazard.exp_kofn sampler.exp_kofn surv.exp_kofn |
| Parallel of exponential components (closed form) | exp_parallel mean.exp_parallel sampler.exp_parallel surv.exp_parallel |
| Series of exponential components (closed form) | density.exp_series exp_series hazard.exp_series mean.exp_series sampler.exp_series surv.exp_series |
| Format a dist_structure object | format.dist_structure |
| Series of independent Gamma components (closed form) | gamma_series sampler.gamma_series surv.gamma_series |
| Coherence axiom check | is_coherent is_coherent.dist_structure |
| Predicate for dist_structure objects | is_dist_structure |
| k-out-of-n system distribution | kofn_dist |
| Series of independent Lognormal components (closed form) | lognormal_series sampler.lognormal_series surv.lognormal_series |
| Parallel system of m iid components | max_iid |
| Mean of a cold-standby system: sum of component means | mean.cold_standby_dist |
| Minimal cut sets | min_cuts min_cuts.dist_structure |
| Series system of m iid components | min_iid |
| Minimal path sets | min_paths min_paths.dist_structure |
| Number of components | ncomponents |
| k-th order statistic of m iid components | order_statistic |
| Parallel system distribution | parallel_dist |
| Structure function | phi phi.dist_structure |
| Print a dist_structure object | print.dist_structure |
| System reliability polynomial | reliability reliability.dist_structure |
| Series system distribution | series_dist |
| Birnbaum structural importance | structural_importance structural_importance.dist_structure |
| Substitute a component | substitute_component substitute_component.dist_structure |
| System survival via reliability composition | cdf.dist_structure dist_structure sampler.dist_structure surv.dist_structure |
| Per-component censoring from system observation | system_censoring system_censoring.dist_structure |
| System lifetime from component times | system_lifetime system_lifetime.dist_structure |
| System signature | system_signature system_signature.dist_structure |
| Validate that an object satisfies the dist_structure protocol | validate_dist_structure |
| Vesely-Fussell importance at time t | vesely_fussell_importance vesely_fussell_importance.dist_structure |
| Series of Weibull components with common shape (closed form as a Weibull) | mean.wei_homogeneous_series sampler.wei_homogeneous_series surv.wei_homogeneous_series wei_homogeneous_series |
| k-out-of-n system of independent Weibull components (closed form) | density.wei_kofn hazard.wei_kofn sampler.wei_kofn surv.wei_kofn wei_kofn |
| Series of heterogeneous Weibull components (closed form) | hazard.wei_series sampler.wei_series surv.wei_series wei_series |
