induce_median_missing {AutoScore}R Documentation

Internal function: induce informative missing in a single variable

Description

Internal function: induce informative missing in a single variable

Usage

induce_median_missing(x, prop_missing)

Arguments

x

Variable to induce missing in.

prop_missing

Proportion of missing to induce for each vars_to_induce. Can be a single value for a common proportion for all variables (default is 0.4), or a vector with same length as vars_to_induce.


[Package AutoScore version 1.0.0 Index]