indexer: Create a varying index

Description Usage Arguments Value Examples

View source: R/methods.R

Description

This is a simple utility to create a fixed length index.

Usage

1

Arguments

i

Where the index should start

end

Where the index should end (essentially length)

Value

A vector of the index

Examples

1
2
3
indexer(1, 10)
indexer(2, 10)
indexer(3, 5)

JWiley/pai documentation built on May 7, 2019, 10:15 a.m.