format_playoff_odds | R Documentation |
Takes a playoff odds table and returns a gt table
format_playoff_odds(
playoff_odds,
caption_text = "",
trim = TRUE,
trimcup = FALSE
)
playoff_odds |
a playoff odds data frame with columns Team, Make_Playoffs, Win_First_Round, Win_Second_Round, Win_Conference, Win_Cup |
caption_text |
Additional text to prepend to " Playoff Odds" in table title. E.g. 'Eastern Conference' if only eastteams sent in. |
trim |
Whether to drop teams that have 0 chance of making playoffs. Default true |
trimcup |
Whether to drorp teams that have 0 chance of winning cup. Default false |
a gt table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.