roommate.validate {matchingR} | R Documentation |
Input validation for one-sided markets
Description
This function parses and validates the arguments for the function
roommate
. It returns the validates arguments. This function
is called as part of roommate
. Only one of the
arguments needs to be provided.
Usage
roommate.validate(utils = NULL, pref = NULL)
Arguments
utils |
is a matrix with cardinal utilities for each individual in the
market. If there are |
pref |
is a matrix with the preference order of each individual in the
market. This argument is only required when |
Value
The validated preference ordering using C++ indexing.