Learn R Programming

topChef (version 0.2.0)

weightedindex: Calculate One Season's Chef's Weighted Scores (Index)

Description

Calculates the Index score for each person within a season of Top Chef.

Usage

weightedindex(
  seriesname,
  seasonnumberofchoice,
  numberofelimchalls,
  numberofquickfires
)

Value

Tibble of index score for each contestant in that season and their placement

Arguments

seriesname

Values can be: US, US Masters, Canada

seasonnumberofchoice

Integer of the season number within the series

numberofelimchalls

Number of elimination challenges you want to include in the index. Must be greater than 0

numberofquickfires

Number of quickfire challenges you want to include in the index. Must be greater than 0.

Details

The result of elimination challenges and quickfire challenges are weighted. Scoring: Elimination win = +7 points. Elimination high = +3 points. Elimination low = -3 points. Eliminated = -7 points. Quickfire win = +4 points. Quickfire high = +2 points. Quickfire low = -2 points. Combines Sudden Death Quickfires with Eliminations Excludes Qualifying Challenges Holding constant the number of elimination challenges and quickfire challenges will allow comparison across seasons if you want