reindex,LongTable-method | R Documentation |
After subsetting a LongTable, it is possible that values of rowKey or colKey could no longer be present in the object. As a result there the indexes will no longer be contiguous integers. This method will calcualte a new set of rowKey and colKey values such that integer indexes are the smallest set of contiguous integers possible for the data.
## S4 method for signature 'LongTable'
reindex(object)
object |
The |
A copy of the LongTable
with all keys as the smallest set of
contiguous integers possible given the current data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.