associate each row with the previous and next row from a subset of rows

.partGPAssociateSpecialRows(iRowsSpecial, nRec)

Arguments

iRowsSpecial

ordered unique integer vector specifying the rows for which some special data is available

nRec

integer scalar of number of rows in the full data.frame

Value

a dataframe with index of previous and next rows inside the subset