compute_archetypes: Archetypal Analysis

Description Usage Arguments Value

View source: R/archetype_models.R

Description

perform an "archetypal athletes" analysis

Usage

1
compute_archetypes(player_totals, player_labels, num_archetypes = 3)

Arguments

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 player_totals..

num_archetypes

number of archetypes to use (default 3)

Value

a list of


znmeb/dfstools documentation built on March 3, 2020, 5:50 p.m.