getOverlappingVectorsFromVector {ModCon} | R Documentation

## Create overlapping subvectors

### Description

Create overlapping subvectors from large vector

### Usage

    getOverlappingVectorsFromVector(largeVector, subvectorLength, subvectorOverlap )

### Arguments

`largeVector` | Large character vector to break down into overlapping subvectors
`subvectorLength` | Numeric value of length of smaller subvectors
`subvectorOverlap` | Numeric value of length of subvector overlap

### Value

Creates a list of overlapping subvectors from an input vector `largeVector`. The length of these overlapping subvectors is stated by `subvectorLength` and the overlap of the resulting subvectors is stated by `subvectorOverlap`.

### Examples

    getOverlappingVectorsFromVector(c(1,2,3,4), 2, 1)

[Package ModCon version 1.0.0 Index]