Learn R Programming

TopKLists (version 1.0.8)

Borda.plot: Plot Borda's scores against ranks

Description

Plotting Borda's scores against ranking can frequently reveal when information for ranking starts to diminish. This function plots scores versus ranks after aggregation.

Usage

Borda.plot(outBorda, k, ...)

Value

A plot of Borda's scores versus ranks.

Arguments

outBorda

A list containing the output from running the Borda function.

k

The number of scores to be plotted. If not supplied, all the scores in the output from Borda will be plotted.

...

other parameters passed on to the plot function

Author

Shili Lin <shili@stat.osu.edu>

See Also

Borda

Examples

Run this code
#get sample data
data(TopKSpaceSampleInput)
outBorda=Borda(input,space,k=40)
Borda.plot(outBorda, k=40)

Run the code above in your browser using DataLab