risk_form_variance_share_fun()has been removed. Its functionality is fully subsumed byuncertainty_fun(), which already computed identical Sobol' sensitivity indices for all four parameters as part of its output. Users should calluncertainty_fun()directly and read thesensitivity_analysislist-column from$nodes.- Removed the
risk_formargument fromall_paths_fun()anduncertainty_fun(). The additive formula (risk_form = "additive") is now subsumed by the unified power-mean formula withp = 1(default). uncertainty_fun()now returns tibbles instead ofdata.tableobjects. Thedata.tablepackage is no longer a dependency.
- Fixed duplicate
"p"column bug in Sobol sample matrices withinuncertainty_fun(). The raw column fromsobol_matrices()is now named"p_raw"internally so the rescaledpcolumn is correctly used. - Added
@importFrom rlang %||%toplot_top_paths_fun()(previously not imported). - Added missing
@importFromdeclarations forggplot2::scale_fill_viridis_c,ggplot2::geom_tile,stats::setNames,ggplot2::geom_errorbar,ggplot2::geom_point, andscales::breaks_pretty. - Fixed fallback
nodes_tblinplot_top_paths_fun()that was missingrisk_score. The function now requiresall_paths_outto be the output ofall_paths_fun(). - Fixed
\deqn{[0, 1]}in@paramofplot_top_paths_fun().
uncertainty_fun()now returns Sobol' sensitivity indices labelledalpha,beta,gamma, andpin thesensitivity_analysislist-column of$nodes, replacing the previous internal raw labelsa_raw,b_raw,c_raw,p_raw. Internally the Sobol' design still draws four independentU(0,1)values (required by the quasi-random sequence); the raw draws are normalised to weights and mapped top ∈ [−1, 2]before the model is evaluated. The documentation explains this in a dedicated Parameter labels and the Sobol' design section.slope_fun()now uses an analytic OLS formula instead ofstats::lm().- Removed the internal
slope_per_draw_from_nodesclosure inuncertainty_fun()and replaced it with calls toslope_fun(). - Added shared input-validation helper
validate_all_paths_out()used across multiple functions. - Added
epsparameter touncertainty_fun()for forwarding to the risk evaluation. - Corrected
@returndocumentation forpath_ccinall_paths_fun(). - Updated
inst/CITATIONto version 0.2.0. - Removed
NAMESPACE.bak. - Removed redundant
!is.na(x)guard inslope_fun()andgini_index_fun(). - Replaced three sequential
vapplyloops inpath_uncertainty_plot()with a single pass. - Removed trailing blank lines in
all_paths_fun.R. - Added
testthattest suite with tests forslope_fun,gini_index_fun,all_paths_fun, anduncertainty_fun.
- Corrected the legend name of the
path_fix_heatmapfunction (from R_k to P_k). - Expanded the vignette to include examples with the power_mean formulation.
- Initial CRAN release.
- Functions to compute and visualize risk along software call paths.