Learn R Programming

vote (version 2.4-4)

food_election: Example Dataset

Description

Dataset on food election which serves as a simple example for the STV method taken from Wikipedia.

Usage

data("food_election")

Arguments

Format

A data frame with 20 observations and 5 candidates (Oranges, Pears, Chocolate, Strawberries, Sweets). Each record corresponds to one ballot with ranking for each of the candidates.

Examples

Run this code
data(food_election)
head(food_election)

Run the code above in your browser using DataLab