Description Usage Arguments Value
View source: R/archetype_models.R
perform an "archetypal athletes" analysis
1 | compute_archetypes(player_totals, player_labels, num_archetypes = 3)
|
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_archetypes |
number of archetypes to use (default 3) |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.