View source: R/Get Ownership For Subset of DFS Players.R
get_dk_user_subset_ownership | R Documentation |
Calculates player ownership for subset of lineups from DK users. Can be used to compare sharp ownership vs contest.
get_dk_user_subset_ownership(tidy_lus, dk_user_subset)
tidy_lus |
long format, tidy lineup data |
dk_user_subset |
a vector of DK usernames - note: NOT CASE SENSITIVE |
a dataframe with ownership for all players in the contest, with total ownership in contest, and ownership for the subset of dk usernames provided to the function.
own_comparison <- get_dk_user_subset_ownership(lu_dat, c('awesemo', 'youdacao', 'papagates', 'rynpak')) own_comparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.