-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow colleges to have different numbers of slots #31
Conversation
…nd documented. Also needs some checking that slots has the correct size.
What do you mean when you put 'validate inputs' on your todo list? The existing function to validate inputs should work just as well. |
Just need to check that |
There was only one error with unmatched.colleges Example from vignets https://cran.r-project.org/web/packages/matchingR/vignettes/matchingR-intro.html
|
I think I fixed that in 037fe0c. Current version seems to work (better). |
First of all, thank you very much! I just reinstalled the package (Maybe I'm not taking correct release?), but this small error in the output still remains.
It can be easy to get around
|
Okay, now I see what's going on. In your case, you have From the documentation: |
…nt across colleges
Allow colleges to have different numbers of slots
Addresses #30
In
galeShapley.collegeAdmissions
,slots
can now be either a scalar or a vector with length equal to the number of colleges. The function returns the usual list of resultsres
.res$matched.colleges
is the a matrix of dimension number of colleges by number of slots when all colleges have the same slot size.res$matched.colleges
is a list when colleges can have different numbers of slots.To-Do: