Changelog
Source:NEWS.md
mrgsim.sa 0.3.0
CRAN release: 2026-04-02
Add
paletteargument tosens_plot()for bothsens_eachandsens_gridoutput, allowing users to pass a discrete color scale (e.g., from ggplot2 or ggsci). The default palette uses lattice/trellis colors for small numbers of levels andhcl.colors(palette = "Dark 2")for larger sets (#13).Add
groupandfacetarguments tosens_plot()forsens_grid()output to control which sensitivity variable is used for within-panel color grouping and which variable(s) appear in the facet strips.Add
xlabandylabarguments tosens_plot()forsens_grid()output (#15).ylabcan now be a vector; the length must match the length ofdv_namewhen multiple dependent variables are requested (#15).Add
paletteargument tolsa_plot()allowing users to pass a discrete color scale; thepalargument is deprecated; usepaletteinstead.
Bugs Fixed
- Fixed bug where sensitivity parameters were carried into the simulated output when running
sens_grid()and causing a naming conflict (#14).
mrgsim.sa 0.2.0
CRAN release: 2023-12-08
sens_plot()forsens_gridoutput will now plot multiple dependent variables with a single call (#12).sens_plot()forsens_eachoutput will now plot the all items indv_nameby default (#7).Add
layoutargument tosens_plot()to control how plots appear when multiple dependent variables are getting plotted (#7).NEWS.mdis now retained in the built package (#7).
Internal
- Now using
rlang::abort()globally (#8).