Skip to contents

add missing values to x vector based on the values of x

Usage

which_missing(x, weight_missing = 0.2)

Arguments

x

vector of intensities

weight_missing

greater weight more missing

Examples

which_missing(2**rnorm(10,2,0.4))
#>  [1]  TRUE FALSE FALSE FALSE FALSE FALSE  TRUE FALSE FALSE FALSE