makeSlice {externalVector} | R Documentation |
Create a new object of class "sliceIndex"
makeSlice(start = 1, length.slice = 1, stride = 1)
start |
Start of the index. |
length.slice |
Length of the index. |
stride |
Difference between consecutive elements of the index. |
An object of class "sliceIndex".
x <- makeSlice(0, 4, 2) as(x, "positiveIndex")