Skip to content

v1.1.6

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:35
· 9 commits to master since this release

jjstatsplot 1.1.6 (2026-11-29)

Maintenance release addressing plot export reliability, saved-file size, table stability, option naming, translation strings, and package metadata:

  • Statistical corrections: Use the tied margins for exact small-sample perfect Spearman p-values; keep unestimable correlation cells missing; make weighted network betweenness independent of distance units.

  • Column-name safety and missing data: Use fixed isolated donut aesthetics and collision-free working columns. Exclude genuine missing factor codes while preserving literal NA labels and factor metadata.

  • Validation and controls: Reject configured fatal inputs, preserve restart conditions, and make manual edits leave clinical presets. Methods and log-scale guidance now describe the operations actually performed.

  • Results presentation: Advanced raincloud computed results use six native numeric tables. Hull, pie and ridge educational/report panels have explicit opt-in controls; targeted help and ridge translation strings are corrected.

  • Restart handling: Preserve jamovi restart signals in ridge statistics, arc diagrams, and pie renderers instead of displaying them as calculation errors.

  • Bar charts, histograms, pie charts, and correlation matrices: Bound main, split, and optional image dimensions to 4096 pixels per side, including large variable selections; missing or unused split levels no longer inflate the requested canvas.

  • Raincloud: Give a clear error when the dependent variable is reused for grouping, faceting, or color. Reuse among the categorical roles remains supported.

  • Scatter plot: Use consistent American spelling in the invalid-color warning.

  • jjdotchart, jjdotplotstats: Plots now export cleanly without running the analysis first by reading their validated render inputs (including statistical subtitles and Bayes-factor captions) from image$state.

  • jjridges, linechart, advancedraincloud, raincloud, hullplot: Switched all five plots to jamovi's data-driven render route (requiresData: true), removing the serialised ggplot object from jjridges plot state and raw data rows from linechart, advancedraincloud, raincloud, and hullplot plot state so saved .omv files stay compact and remain compatible across ggplot2 upgrades.

  • jjhistostats (breaking option rename for saved .omv files): Renamed the three dotted options test.value, conf.level, and bf.message to testValue, confLevel, and bfMessage, removing the JavaScript bracket-lookup workarounds and enabling UI gating on Bayes prior scale (bfprior).

  • linechart: Fixed the visibility expression error (xvar && yvar), and scaffolded the four fixed correlation summary rows (Pearson Correlation, R-squared, Regression Slope, Copy-Ready Summary) during .init() to avoid table reflow on update.

  • lollipop: Marked optional highlight with allowNone: true so the jamovi UI leaves it unselected until highlighting is enabled, added explicit clearWith dependencies to the Data Summary table so visual tweaks no longer blank it, and replaced failure-path output hiding and swallowed errors with jmvcore::reject().

  • Translations & UI polish: Replaced spliced translation fragments in jjarcdiagram and jjpiestats with complete sentences; aligned jjscatterstats variable box labels to Title Case; grouped raincloud statistical controls inside their section headers; cleaned jjridges description formatting and bandwidth label.

  • jjridges: An invalid selection (no data, one group, a non-numeric X, an out-of-range scale) now puts the analysis in jamovi's error state with its message, instead of completing with an error notice and hidden outputs. Notice titles are now translatable.

  • advancedraincloud: When the raincloud layer cannot be drawn, or the trial-arm or time-point labels do not match the number of groups, the plot now says so in its caption; these fallbacks were previously silent.

  • jwaffle: A validation error is shown once, as the analysis error, rather than also being repeated in the instructions panel.

  • jjbarstats, jjsegmentedtotalbar: Three error messages are now translatable.

  • statsplot2: Changing an option while a plot is being built now restarts the analysis with the new settings, instead of possibly finishing with a simpler fallback plot of the old ones. Two unreachable "package not installed" checks were removed; the packages are always installed with the module, and a missing one is still reported up front.

  • Dependencies & citations: Require ggstatsplot (>= 1.0.0) for its explicit subject-ID and palette APIs, with its effective prerequisite R (>= 4.3.0). Dropped the redundant gastonstat/arcdiagram entry from Remotes: (arcdiagram helpers are vendored), and added a URL to the jeffreys1961 reference.

  • Citation metadata: Identify jjstatsplot in the citation title, repository, website, and description. The umbrella ClinicoPath project and its archive identifiers remain credited as a separate reference.

This release also makes resampled and Bayesian results reproducible and shows the seed behind them on the
plot. Hull Plot no longer depends on two optional libraries, and several option controls that never
switched on or off now work.

Changed -- results that may differ from an earlier run

  • jjbarstats, jjpiestats: Bayesian results are now reproducible. These two analyses had no
    random seed. A Bayesian contingency test, or the Bayes-factor caption of a frequentist test, could
    give slightly different numbers each time the same analysis ran. Both now use a fixed seed
    (default 20250101). An earlier run will not be matched exactly, but results no longer change
    between identical runs.

  • hullplot: concave hulls no longer depend on V8 and concaveman. On most installations these
    libraries loaded and concave hulls were already drawn, so those plots do not change. Where they
    failed to load, the plot quietly fell back to convex hulls, said so only in an INFO notice and the
    caption, and ignored the Hull Concavity and Hull Boundary Expansion settings. Hulls are now
    computed by ggforce itself (version 0.5.0 or later), so that fallback is gone.

Added -- a Random seed option, and the seed on the plot

  • New "Random seed" option (default 20250101) in jjbarstats, jjbetweenstats, jjhistostats,
    jjpiestats, jjridges, jjscatterstats and jjwithinstats. jjbetweenstats, jjhistostats,
    jjridges, jjscatterstats and jjwithinstats already used this seed internally, so their
    default results are unchanged. Try a different seed to check that a borderline interval or Bayes
    factor does not depend on one particular resample.

  • The plot caption reads "Random seed: N" whenever the seed affected the numbers shown. That
    covers robust and Bayesian tests, the nonparametric effect-size interval for three or more
    independent groups, and the Bayes-factor caption of a parametric test. When both appear, the seed
    line sits under the Bayes-factor caption. The same line now appears in jjdotplotstats,
    statsplot2, and in jjcorrmat with Bayesian correlations (on the plot and under the table). In
    jjdotchart it appears on every chart and under the summary table, because the error bars are
    always bootstrap intervals.

Fixed -- option controls that did not respond

  • jjarcdiagram: "Descending order" could not be ticked. It now works whenever a node order is
    chosen.
  • jjsegmentedtotalbar: "Value labels" for the Flerlage chart could not be ticked, and the
    other Flerlage controls (label size, label colour, background transparency and colour) never
    greyed out. They are now active only for the Flerlage chart.
  • jjridges: Bandwidth method, Custom bandwidth, Histogram bin width, Ridge transparency,
    Custom colors and the gradient colours were always active. Each is now active only when it
    applies (for example, bin width only for Histogram Ridges).
  • jjhistostats: the Confidence level box broke every enable/disable rule and automatic
    adjustment that came after it in the panel. It is fixed, so Test direction, Trim proportion, the
    ggpubr sub-options and the bin-width and digits limits behave as intended. "Plot subtitle" is
    greyed out while Statistical results is on. Choosing a bin fill colour suggests a matching
    centrality-line colour again.
  • jjsegmentedtotalbar: the detailed statistics table always lists its seven rows. If a run
    stops early, the old values are cleared rather than left from the previous run.

Documentation and packaging

  • hullplot: the Hull Boundary Expansion help now warns that values below about 0.01 can trim
    hulls. ggforce rounds hull corners with a fixed 2.5 mm radius, so points on the edge can fall
    outside the outline.
  • The citation file now gives the licence as GPL-2.0-or-later. The module has a new icon, and V8
    and concaveman are no longer installed with it. Reference lists and the README were also updated.

Text and repository

  • American spelling throughout (analyzed, color, center, behavior, labeled, favor).
  • Repository: a personal settings file is no longer tracked.