## 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)
## ---------------------------------------------
Run the code above in your browser using DataLab