rev_row_subset {simts} | R Documentation |
Reverse Subset Row
Description
Subsets the row by going from high indices to low (the reverse of the supported practice)
Usage
rev_row_subset(x, start, end)
Arguments
x |
A |
start |
A |
end |
A |
Details
Consider a vector x=[[1,2],[3,4]], the function would output x=[[3,4],[1,2]]. Start and end must be valid C++ matrix locations. (e.g. matrix rows start at 0 and not 1)
Value
x A matrix
with matrix rows displayed in reversed order
Author(s)
JJB
[Package simts version 0.2.2 Index]