alternativeRankingsAsDataFrame

fun alternativeRankingsAsDataFrame(firstColumnName: String = "Alternatives", rankingMethod: Statistic.Companion.Ranking = defaultRankingMethod): AnyFrame

Returns a data frame with the first column being the alternatives by name, a column of rank counts for each alternative, and a final column representing the average rank for the alternative. The parameter firstColumnName can be used to name the first column of the returned data frame. By default, the first column name is "Alternatives". The resulting data frame will be sorted by average rank column with lower value being preferred.