findParetoSet: findParetoSet

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Will find the pareto set in a two dimensional spatial voting model given a set of ideal points.

Usage

1
findParetoSet(idealPoints)

Arguments

idealPoints

A numberOfVoters x numberOfDimensions matrix of ideal points.

Details

The pareto set of a set of ideal points is the convex hull of that set of alternatives. This function will take a set of ideal points and returns their convex hull as a matrix of points. The points are listed down the rows in clockwise or counterclockwise order with the first and last element in the matrix being the same ideal point.

Value

The set of points that constitutes the pareto set of the set of alternatives. The points are listed down the rows in clockwise or counterclockwise order with the first and last element in the matrix being the same ideal point.


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