Description Usage Arguments Value
View source: R/archetype_models.R
stepwise search of archetype counts
1 2 3 4 5 6 7 | archetype_search(
player_totals,
player_labels,
num_steps = 1:5,
nrep = 4,
verbose = FALSE
)
|
player_totals |
a tibble of the values to use for archetypal analysis. The first column must be the player name, which must match the player name in the player_labels. The archetypes will be sorted on the second columns. |
player_labels |
a tibble with the labels (player and team names,
positions, etc.). They may overlap with the totals. The leftmost column must
be the player name, which must match the player name in |
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) |
a list of
archetype_parameters the parameters that define each archetype
player_alphas the players tagged with their loadings on each archetype
archetype_model the model object - the bestModel
with num_steps
archetypes
all of the models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.