\name{makeSlice} \alias{makeSlice} \title{ Create a new object of class "sliceIndex" } \description{ Create a new object of class "sliceIndex" } \usage{ makeSlice(start = 1, length.slice = 1, stride = 1) } \arguments{ \item{start}{ Start of the index. } \item{length.slice}{ Length of the index. } \item{stride}{ Difference between consecutive elements of the index. } } \value{ An object of class "sliceIndex". } \seealso{\code{\link{sliceIndex-class}}} \examples{ x <- makeSlice(0, 4, 2) as(x, "positiveIndex") } \keyword{classes}