plot_user_fantasy_points_against {sleeperapi} | R Documentation |
Plot User Fantasy Points Against
Description
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).
Usage
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"
)
Arguments
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). |
Value
Returns a plot containing the total fantasy points against by user.
Author(s)
Nick Bultman, njbultman74@gmail.com, March 2024
Examples
## Not run: plot_user_fantasy_points_against(688281863499907072, "njbultman74")
[Package sleeperapi version 1.1.1 Index]