Skip to contents

Helper function to rotate vector

Usage

rot_vector(lineup_vec)

Arguments

lineup_vec

A vector of lineup data

Examples

# Rotate lineup positions by one place
rot_vector(1:6)
#> [1] 6 1 2 3 4 5