R/summary.hri2.R

Defines functions summary.hri2

#' @export
summary.hri2 <- function(object, ...) {
  message("Matching Summary Stats:")
  message("# Unmatched Singles: ", object$stats$unmatchedSingles)
  message("# Unmatched Couples: ", object$stats$unmatchedCouples)
  message("# Unmatched Program slots: ", object$stats$unmatchedProgrammSlots)
  message("# Ave Resident Rank of their matching: ", object$stats$aveRRank)
  message("# Num Residents getting their top rank: ", object$stats$numRTop)
  message("# Num Couples getting their top rank: ", object$stats$numCTop)
  message("# Ave Program Rank of their matched residents: ", object$stats$avePRank)
  message("# Num Programs getting their top rank: ", object$stats$numPTop)
}

Try the matchingMarkets package in your browser

Any scripts or data that you put into this service are public.

matchingMarkets documentation built on Aug. 8, 2023, 5:10 p.m.