confdf: NBA Winning Percentage Data Frame, by Conference

View source: R/confdf.R

confdfR Documentation

NBA Winning Percentage Data Frame, by Conference

Description

Allows to create a data frame of NBA teams from a chosen conference, with their winning percentage

Usage

confdf(conference, year)

Arguments

conference
  • character value, either 'eastern' or 'western'

year
  • numeric value, a year in which the desired season has ended (e.g. year = 2008 will provide a data frame for 2007-2008 season, year = 2017 for 2016-17 etc.). Please note, that the function only accepts years from 1970.

Examples

confdf('western', 2007)
confdf('eastern', 1999)

mateuszrydzik/nbawinper documentation built on Nov. 9, 2023, 9:27 a.m.