Unwhich.RdThe inverse function to which creates a logical
vector/matrix from indices.
Unwhich(idx, n = max(idx), useNames = TRUE)the indices as returned by which.
integer, the length of the original vector. This must not be less than max(idx), which is also the default.
logical, determining if the names of the indices should be preserved.
a logical vector of the length n, with TRUE on the positions i.