refIdToIndexAndBack | R Documentation |
Converts a depthmapX "Ref" ID to the indices (x, y) of a cell, or the reverse
refIDtoIndex(refID)
indexToRefID(i, j)
refID |
The Ref ID |
i |
The x-axis index of the cell |
j |
The y-axis index of the cell |
A pair of indices (x, y) or a Ref ID
idx <- refIDtoIndex(852645)
# outputs:
# i j
# 1 13 677
idx <- indexToRefID(13, 667)
# outputs:
# 852645
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.