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

View source: R/simulate_LFQ_data.R

which_missingR Documentation

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

Description

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))


wolski/prolfqua documentation built on Feb. 14, 2025, 5:02 a.m.