R: Visualizes Preferential Data in One and More Contests

# Visualizes Preferential Data in One and More Contests

## Documentation for package ‘prefviz’ version 0.1.2

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

add_ternary_base | Draw the 2D ternary simplex
add_vertex_labels | Add vertex labels to ternary plot
aecdop | Distribution of preferences by candidate by division in the Australian Federal Election (2022 and 2025)
aecdop22_transformed | Distribution of preferences in wide form for selected parties (2022 and 2025)
aecdop25_transformed | Distribution of preferences in wide form for selected parties (2022 and 2025)
aecdop_2022 | Distribution of preferences by candidate by division in the Australian Federal Election (2022 and 2025)
aecdop_2025 | Distribution of preferences by candidate by division in the Australian Federal Election (2022 and 2025)
aecdop_transformed | Distribution of preferences in wide form for selected parties (2022 and 2025)
as_ternable | Create a ternable object
dop_bar | Bar chart of preference distribution for one contest
dop_irv | Get full distribution of preferences in each instant runoff voting round as percentage
dop_transform | Transform AEC distribution of preferences from long to wide format
elb_centroid | Centroids of electoral divisions in the 2025 Australian Federal Election
elb_map | Electoral boundaries map for the 2025 Australian Federal Election
geom_ternary_region | Create polygonal regions in a ternary plot based on a reference point
get_tern_data2d | Getter functions to extract components from ternable object for ternary plots
get_tern_datahd | Getter functions to extract components from ternable object for ternary plots
get_tern_edges | Getter functions to extract components from ternable object for ternary plots
get_tern_labels | Getter functions to extract components from ternable object for ternary plots
helmert_transform | Transform compositional data using Helmert matrix
pairwise_calculator | Compute pairwise results from ranked preference data
pairwise_heatmap | Heatmap of pairwise results
StatOrderedPath | Reorder observations for a path geom
StatTernaryRegion | Create polygonal regions in a ternary plot based on a reference point
stat_ordered_path | Reorder observations for a path geom
stat_ternary_region | Create polygonal regions in a ternary plot based on a reference point
ternary_getters | Getter functions to extract components from ternable object for ternary plots