formation: Representing a formation

Description Usage Arguments Value

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.



Search within the unitedR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.