archetype_search: Archetype Search

Description Usage Arguments Value

View source: R/archetype_models.R

Description

stepwise search of archetype counts

Usage

1
2
3
4
5
6
7
archetype_search(
  player_totals,
  player_labels,
  num_steps = 1:5,
  nrep = 4,
  verbose = FALSE
)

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_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


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