Learn R Programming

r4lineups (version 0.1.1)

rep_index: Rep index

Description

Helper function that repeats a number k times

Usage

rep_index(index, num)

Arguments

index

Number to be repeated

num

Number of times to repeat index

Details

Can be used to create vectors of lineup data

Examples

Run this code
# NOT RUN {
rep_index(1, 10)
# }

Run the code above in your browser using DataLab