Type: Package
Title: Color Palettes for EPL, MLB, NBA, NHL, and NFL Teams
Version: 1.0.0
Description: Color palettes for EPL, MLB, NBA, NHL, and NFL teams.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2017-02-19 23:04:34 UTC; cdcrabtree
Author: Charles Crabtree [aut, cre]
Maintainer: Charles Crabtree <ccrabtr@umich.edu>
Repository: CRAN
Date/Publication: 2017-02-20 08:11:16

EPL colors

Description

Function returns a vector of character strings from a selected EPL team's color palette. The team options are c("arsenal", "bournemouth", "burnley", "chelsea", "crystal_palace", "everton", "hull", "leicester", "liverpool", "man_city", "man_united", "middlesbrough", "southampton", "stoke_city", "sunderland", "swansea_city", "tottenham", "watford", "west_bromich_albion", "west_ham").

Usage

epl.colors(set = c("arsenal", "bournemouth", "burnley", "chelsea",
  "crystal_palace", "everton", "hull", "leicester", "liverpool", "man_city",
  "man_united", "middlesbrough", "southampton", "stoke_city", "sunderland",
  "swansea_city", "tottenham", "watford", "west_bromich_albion", "west_ham"))

Arguments

set

Character string denoting an EPL team's color palette.

Value

Vector of character strings from the selected EPL team's color palette.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

## Not run: 
# Manchester United colors
(pal = epl.colors("man_united"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

# Tottenham colors
(pal = epl.colors("tottenham"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

## End(Not run)

MLB colors

Description

Function returns a vector of character strings from a selected MLB team's color palette. The team options are c("diamondbacks", "braves", "orioles", "red_sox", "cubs", "white_sox", "reds", "indians", "rockies", "tigers", "astros", "royals", "angels", "dodgers", "marlins", "brewers", "twins", "mets", "yankees", "athletics", "phillies", "pirates", "padres", "giants", "mariners", "cardinals", "rays", "rangers", "blue_jays", "nationals").

Usage

mlb.colors(set = c("diamondbacks", "braves", "orioles", "red_sox", "cubs",
  "white_sox", "reds", "indians", "rockies", "tigers", "astros", "royals",
  "angels", "dodgers", "marlins", "brewers", "twins", "mets", "yankees",
  "athletics", "phillies", "pirates", "padres", "giants", "mariners",
  "cardinals", "rays", "rangers", "blue_jays", "nationals"))

Arguments

set

Character string denoting an MLB team's color palette.

Value

Vector of character strings from the selected MLB team's color palette.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

## Not run: 
# Colorado Rockies colors
(pal = mlb.colors("rockies"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

# Seattle Mariners colors
(pal = mlb.colors("mariners"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

## End(Not run)

NBA colors

Description

Function returns a vector of character strings from a selected NBA team's color palette. The team options are c("hawks", "hornets", "mavs", "warriors", "clippers", "heat", "pelicans", "magic", "blazers", "raptors", "celtics", "bulls", "nuggets", "rockets", "lakers", "bucks", "knicks", "sixers", "kings", "jazz", "nets", "cavs", "pistons", "pacers", "grizzlies", "wolves", "thunder", "suns", "spurs", "wizards", "sonics")

Usage

nba.colors(set = c("hawks", "hornets", "mavs", "warriors", "clippers", "heat",
  "pelicans", "magic", "blazers", "raptors", "celtics", "bulls", "nuggets",
  "rockets", "lakers", "bucks", "knicks", "sixers", "kings", "jazz", "nets",
  "cavs", "pistons", "pacers", "grizzlies", "wolves", "thunder", "suns",
  "spurs", "wizards", "sonics"))

Arguments

set

Character string denoting an NBA team's color palette.

Value

Vector of character strings from the selected NBA team's color palette.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

## Not run: 
# Detroit Pistons colors
(pal = nba.colors("pistons"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

# Milwaukee Bucks colors
(pal = nba.colors("bucks"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

## End(Not run)

NFL colors

Description

Function returns a vector of character strings from a selected NFL team's color palette. The team options are c("cardinals", "falcons", "ravens", "bills", "panthers", "bears", "bengals", "browns", "cowboys", "broncos", "lions", "packers", "texans", "colts", "jaguars", "chiefs", "chargers", "rams", "dolphins", "vikings", "patriots", "saints", "giants", "jets", "raiders", "eagles", "steelers", "niners", "seahawks", "buccaneers", "titans", "redskins").

Usage

nfl.colors(set = c("cardinals", "falcons", "ravens", "bills", "panthers",
  "bears", "bengals", "browns", "cowboys", "broncos", "lions", "packers",
  "texans", "colts", "jaguars", "chiefs", "chargers", "rams", "dolphins",
  "vikings", "patriots", "saints", "giants", "jets", "raiders", "eagles",
  "steelers", "niners", "seahawks", "buccaneers", "titans", "redskins"))

Arguments

set

Character string denoting an NFL team's color palette.

Value

Vector of character strings from the selected NFL team's color palette.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

## Not run: 
# Detroit Lions colors
(pal = nfl.colors("lions"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

# Detroit Broncos colors
(pal = epl.colors("broncos"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

## End(Not run)

NHL colors

Description

Function returns a vector of character strings from a selected NHL team's color palette. The team options are c("ducks", "coyotes", "bruins", "sabres", "flames", "hurricanes", "blackhawks", "avalanche", "blue_jackets", "stars", "red_wings", "oilers", "panthers", "kings", "wild", "canadiens", "predators", "devils", "islanders", "rangers", "senators", "flyers", "penguins", "sharks", "blues", "lightning", "maple_leafs", "canucks", "golden_knights", "capitals", "jets").

Usage

nhl.colors(set = c("ducks", "coyotes", "bruins", "sabres", "flames",
  "hurricanes", "blackhawks", "avalanche", "blue_jackets", "stars", "red_wings",
  "oilers", "panthers", "kings", "wild", "canadiens", "predators", "devils",
  "islanders", "rangers", "senators", "flyers", "penguins", "sharks", "blues",
  "lightning", "maple_leafs", "canucks", "golden_knights", "capitals", "jets"))

Arguments

set

Character string denoting an NHL team's color palette.

Value

Vector of character strings from the selected NHL team's color palette.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

## Not run: 
# Anaheim Ducks colors
(pal = nhl.colors("ducks"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

# Colorado Avalanche colors
(pal = nhl.colors("avalanche"))
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)

## End(Not run)