coords,IndexLookupVol-method | R Documentation |
Extracts the coordinates from an IndexLookupVol object based on a given index.
## S4 method for signature 'IndexLookupVol'
coords(x, i)
## S4 method for signature 'ROICoords'
coords(x, real = FALSE)
## S4 method for signature 'AbstractSparseNeuroVec'
coords(x, i)
x |
An |
i |
The index into the lookup volume |
real |
if |
The extracted coordinates corresponding to the provided index If the index is not found, it returns NA
## Not run:
ilv <- IndexLookupVol(space, c(1:100))
coords(ilv, 1) # Extract coordinates for index 1
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.