Rdocumentation
powered by
Learn R Programming
unitedR (version 0.2)
simRedCard,formation,numeric-method: Simulate red card(s)
Description
Simulates red card(s) in the united and returns the adjusted lineup.
Usage
"simRedCard"(obj, lineup)
simRedCard(obj, lineup)
Arguments
obj
object of the class
formation
lineup
lineup of the corresponding object
obj
Value
vector
of the adjusted lineup for the red card(s)