roommate.validate {matchingR} | R Documentation |
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.
roommate.validate(utils = NULL, pref = NULL)
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 |
The validated preference ordering using C++ indexing.