Changelog
Source:NEWS.md
prefviz 0.1.2
- Added
pairwise_calculator()to compute all head-to-head comparisons from ranked preference data, returning a"pairwise"S3 object with TCP ratios, raw win counts, and Condorcet winner/loser detection. - Added
pairwise_heatmap()to visualise pairwise results as a red–green diverging heatmap, with tile annotations for TCP percentages or raw vote counts. - Added
dop_bar()to plot the preference distribution for a single contest round as a bar chart, supporting both wide and long input formats. -
get_tern_data()split intoget_tern_data2d()(2D plots) andget_tern_datahd()(HD plots). -
get_tern_datahd()now returns the full data frame with alabelscolumn, replacing the need forget_tern_labels(). -
get_tern_labels()is deprecated; useget_tern_datahd(ternable)[["labels"]]instead.
prefviz 0.1.1
CRAN release: 2026-04-13
- Fixed
helmert_transform()to usegeozoo::f_helmert()correctly. - Updated package description to reflect expanded scope.
- Addressed CRAN reviewer comments: improved documentation and examples across multiple functions, added
data.Rdocumentation for bundled datasets, removed internalsysdata.rda.