Description Usage Arguments Value
Get position column index for a mapframe
or equivalent data.frame
.
The position column is taken to be the leftmost matching column, where a
matching column has a heading containing the word 'pos'
. This can
also be in uppercase (i.e. 'POS'
), but can't be part of a larger
word, such as 'position'
. An error is raised if a position column
cannot be found.
1 | getPosColIndex(x, nmax = NULL)
|
x |
A |
nmax |
Maximum number of matching position columns. If specified, an error is raised if the number of matching position columns is greater than this maximum. |
Position column index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.