nba_archetype_search: NBA Archetype Search

Description Usage Arguments Value Examples

View source: R/archetype_models.R

Description

stepwise search of archetype counts

Usage

1
nba_archetype_search(player_totals, num_steps = 1:5, nrep = 4, verbose = FALSE)

Arguments

player_totals

a tibble returned by nba_player_season_totals

num_steps

number of steps to use (default 1:5)

nrep

number of repetitions at each step (default 4)

verbose

should the search be verbose? (default FALSE)

Value

a list of

Examples

1
2
3
4
5
6
7
8
## Not run: 
dfstools::msf_set_apikey("your MySportsFeeds API key")
player_totals <- dfstools::nba_player_season_totals("current")
the_archetypes <- dfstools::nba_archetype_search(player_totals)
player_alphas <- the_archetypes[["player_alphas"]]
View(player_alphas)

## End(Not run)

znmeb/tidysportsfeeds documentation built on Feb. 27, 2020, 10:17 p.m.