Assign a captain or vice-captain
Usage
assign_role(team, pid, role = "c")
Arguments
- team
an object with class team
- pid
the ID of the player to assign a role to
- role
either 'c' to assign them the role of
captain, or 'vc' to assign them the role of
vice-captain.
Value
the team object with the new role assigned