Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow 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,slotscan 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.collegesis the a matrix of dimension number of colleges by number of slots when all colleges have the same slot size.res$matched.collegesis a list when colleges can have different numbers of slots.To-Do: