powered by
Get the mex number of a vector
get_mex(v, colors, idx)
An logical vector - the intersection vector
An integer vector - the color assignment vector
An integer - the index
An integer
# NOT RUN { get_mex(c(TRUE,TRUE,FALSE,FALSE,TRUE), 1:5, 4) # }
Run the code above in your browser using DataLab