Structures for Preference Data


[Up] [Top]

Documentation for package ‘prefio’ version 0.2.0

Help Pages

adjacency Compute the Adjacency Matrix for a vector of preferences
as_preferences Preferences Objects
format.preferences Preferences Objects
levels.preferences Preferences Objects
long_preferences Preferences Objects
preferences Preferences Objects
pref_add_unranked Complete preferences by adding unselected items as last place occurrances.
pref_blank Check if a preference is blank.
pref_cov Covariance matrix for preferences, calculated using the rankings matrix.
pref_get_items Get the name of the item(s) assigned a specific rank, e.g., first.
pref_get_rank Get the rank assigned to a specific item in a set of preferences.
pref_irv Compute the instant-runoff voting winner for a set of preferences.
pref_keep Keep only specified items from preferences.
pref_length Check the length (number of rankings) of a preference.
pref_omit Remove specified items from preferences.
pref_pop Eliminate lowest (or highest) ranked items from preferences.
pref_rev Reverse preference rankings
pref_trunc Truncate preferences to a maximum number of ranks.
pref_type pref_type
ranking_matrix Compute the Rankings Matrix for a vector of preferences
read_preflib Read Ordinal Preference Data From PrefLib
wide_preferences Preferences Objects
write_preflib Write Ordinal Preference Data to PrefLib Formats