View source: R/substitutions_handler.R
rotations | R Documentation |
Get team rotations point by point
rotations(x, team, start_point_id, set_number, new_rotation, new_rotation_id)
x |
datavolley or data.frame: a datavolley object as returned by |
team |
string: team name |
start_point_id |
vector: vector of pointids for which to return the rotation |
set_number |
value: Set number |
new_rotation |
vector: vector of player number, positioned from 1 to 6 |
new_rotation_id |
character: as for |
list of 2 data.frames. Current data.frame, without changes, and updated data.frame, with new player rotation.
read_dv
## Not run:
x <- read_dv(dv_example_file(), insert_technical_timeouts=FALSE)
new_x <- rotations(x, start_point_id = 25, new_rotation = c(9,6,15,4,12,7))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.