Skip to contents

Returns a subset of a vector from start to stop position

Usage

vslice(vector, start, stop = NULL)

Arguments

vector

The input vector to slice

start

Starting position of the slice

stop

Optional ending position of the slice (defaults to vector length)

Value

A vector containing the selected slice