| getOverlappingVectorsFromVector {ModCon} | R Documentation |
Create overlapping subvectors from large vector
getOverlappingVectorsFromVector(largeVector, subvectorLength, subvectorOverlap )
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 |
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.
getOverlappingVectorsFromVector(c(1,2,3,4), 2, 1)