| get_mex {mapchina} | R Documentation | 
Get the mex number of a vector
Description
Get the mex number of a vector
Usage
get_mex(v, colors, idx)
Arguments
| v | An logical vector - the intersection vector | 
| colors | An integer vector - the color assignment vector | 
| idx | An integer - the index | 
Value
An integer
Examples
get_mex(c(TRUE,TRUE,FALSE,FALSE,TRUE), 1:5, 4)
[Package mapchina version 0.1.0 Index]