Description Usage Arguments Value
Returns the distance between the center of a super elipse and a point on the elipse. The distance is mesured in the "order" of the superelipse. This order is the same as the minkowski order for distance.
1 | findSuperElipseRadius(idealPoint, altPoint, orderScalar, salienceVector)
|
idealPoint |
An ideal point for a voter. |
altPoint |
An alternative in the choice set. |
orderScalar |
Order for the voter's distance metric. 1 is the Manhattan Distance, 2 is the Cartesian Distance and 100000 is the Chebechev Distance. You can choose any integer inbetween. |
salienceVector |
The salience the voter has for each issue dimension. The element that coresponds to the least salient matrix is a 1 and all the other dimensions have their salience measured relative to that dimension. |
indifferencePoints A set of points that are on the indifference curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.