knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
To get things running you have to included the matchingMarketsEvaluation package and some other requirements.
Note that the matchingMarketsEvaluation package is currently based on the function stabsim3
, which is not yet available in the official package. Please see github.com/tobiasreischmann/matchingMarkets for a current development state.
library(parallel) library(matchingMarkets) library(matchingMarketsEvaluation)
The package offers evaluation techniques to show how variations of different parameters influence the number of rounds needed for the execution of the decentralized college admission mechanism. The following code specifies a configuration analysing the mechanism for different values of the private facility quota. This quota states, how many facilities participate manually in the mechanism.
body(quota_configuration)
quota_configuration()
The calculation can be run using one simple function. The results are the needed rounds for all scenarios of the configuration.
data <- calculateScenarios(rows)
Afterwards, the results can be plotted as a line diagram.
plotEvaluation(data, elements, "Private Facility Quota", dimensionxval)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.