unwhich: #' Test if x not in y #' #' @description This is the opposite...

Description Usage Arguments Details Value See Also

Description

Which (in base) converts true/false values to integers, unwhich does the opposite (n corresponds to vector length where true values are assigned to)

Usage

1
unwhich(x,n)

Arguments

x

Integers that indicate TRUE values

n

Boolean list length

Details

The function first creates n-length list of FALSE values. After this, indices x are replaced with TRUE values.

Value

Boolean list with length n

See Also

http://adv-r.had.co.nz/Subsetting.html


jylhaisi/post-processing-mos-point-utils documentation built on May 20, 2019, 6:14 p.m.