slice¶
Extract a subset of a vector variable.
slice(
vector,
startIndex,
endIndex,
)
This is normally used inside another function such as
sum
or average.
Arguments¶
vector- The vector to slice.
startIndex- The first index to retrieve from the vector. Inclusive.
endIndex- The last index to retrieve from the vector. Inclusive.
Examples¶
See the example workbook.