Description Usage Arguments Value
This function takes an alternative and an indifference curve and checks to see if the
point is in the indifference curve. The more general function
isInICFromPointAndIdeals()
will take an alternative and a set
of ideal points as its arguments.
1 | isInICFromPointAndIC(aSexpPoint, aSexpMatrix)
|
aSexpPoint |
An R vector (SEXP) that contains the corrdinates of the alternative that you want to check. |
aSexpMatrix |
An R matrix (SEXP) that contains all the points that
define an indifference curve. The set of points should progress clockwise or
counter clockwise as you go down the rows of the matrix and the first and
last rows should of the matrix should be the same. The function
|
Logical that is TRUE if the alt is inside the agents indifference curve and FALSE if the alt is not inside the agents indifference curve. NOTE: Being inside the indifference curve is equivalent to being in the agents preferred-to-set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.