get_proposer_rank {PAutilities} | R Documentation |
Rank preferences for an arbitrary proposer and rejecter, based on distance (i.e., difference) between them
Description
Rank preferences for an arbitrary proposer and rejecter, based on distance (i.e., difference) between them
Usage
get_proposer_rank(proposer, rejecter, window_size)
Arguments
proposer |
A vector containing indices of transitions for the proposing (optimal) party |
rejecter |
A vector containing indices of transitions for the rejecting (pessimal) party |
window_size |
The maximum number of indices that are allowed to separate a predicted and reference transition, before the two are considered incompatible |
Value
A matrix with length(proposer)
columns and
length(rejecter)
rows, giving ordered preferences for the proposer,
based on the absolute difference between the ith proposer index and the
rejecter indices, where differences larger than window_size
are
treated as omitted preferences, i.e., non-possibilities.
[Package PAutilities version 1.2.1 Index]