Representing a formation

Share:

Description

Represents a valid united formation.

Usage

1
2
formation(GK, SW, DF, MF, ST, hardness = c(0, 0, 0, 0, 0), homeAdv = c(0, 0,
  0, 0, 0))

Arguments

GK

integer for the strength goalkeeper

SW

vector for the strength of the sweeper, can be NA or a numeric

DF

numeric vector for the strengths of the players in the defense

MF

numeric vector for the strengths of the players in the midfield

ST

numeric vector of integers for the strenghts of the strikers

hardness

numeric vector of length five with integers for the used hardness

homeAdv

numeric vector of length five with integers for the used hardness

Value

S4 object of the class formation.