View source: R/plot_user_fantasy_points_against.R
plot_user_fantasy_points_against | R Documentation |
Given the league ID and display name, plot the current total fantasy points against that user while also plotting the current total fantasy points against the rest of the league in a different color (assuming the colors are not set to the same by the user).
plot_user_fantasy_points_against(
league_id,
display_name,
title = "<b>Total Fantasy Points Against by User</b>",
tick_color = "black",
user_fill = "#f68383",
other_fill = "lightgrey"
)
league_id |
League ID assigned by Sleeper (numeric). |
display_name |
Display name created by user (string). |
title |
Title for plot, which can include HTML formatting (string). |
tick_color |
Font color, name or hex, for display names (string). |
user_fill |
Bar color, name or hex, for display name specified (string). |
other_fill |
Bar color, name or hex, for other display names (string). |
Returns a plot containing the total fantasy points against by user.
Nick Bultman, njbultman74@gmail.com, March 2024
## Not run: plot_user_fantasy_points_against(688281863499907072, "njbultman74")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.