Make a substitution in your team by selecting two players to swap
Usage
team_substitute(team, p1, p2)
Arguments
- team
an object with class team
- p1
a numeric ID of a player in the team
- p2
a numeric ID of another player in the team
Value
the team object with the two players switched and the resulting
team validated to ensure no rules were broken in the substitution