isInParetoSetFromPointAndIdeals: isInParetoSetFromPointAndIdeals

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This function takes an alternative and a pareto set and checks to see if the point is in the pareto set. The function isInParetoSetFromPointAndPS() will take an alternative and the set of points that define the pareto set and check if the alternative is in the pareto set.

Usage

1
isInParetoSetFromPointAndIdeals(aSexpPoint, aSexpMatrix)

Arguments

aSexpPoint

An R vector (SEXP) that contains the corrdinates of the alternative that you want to check.

aSexpMatrix

An R matrix (SEXP) that contains the ideal points of the voters.

Value

Logical that is TRUE if the alt is in the pareto set and FALSE of the alt is not in the pareto set.


robiRagan/voteR documentation built on Feb. 27, 2020, 6:48 p.m.