simRedCard: Simulate red card(s)

Description Usage Arguments Value

Description

Simulates red card(s) in the united and returns the adjusted lineup.

Usage

1
2
3
4
simRedCard(obj, lineup, Hard)

## S4 method for signature 'formation,numeric,matrix'
simRedCard(obj, lineup, Hard)

Arguments

obj

object of the class formation

lineup

lineup of the corresponding object obj

Hard

matrix of hardness to be used

Value

list with two elements:


unitedR documentation built on July 8, 2020, 6:38 p.m.