randomize_na: Imputes NAs by randomization

Description Usage Arguments Value

View source: R/randomize_na.R

Description

Imputes NAs by randomization

Usage

1
randomize_na(df, from = 1:4)

Arguments

df

data.frame, the data containing the NAs to be imputed.

from

A vector containing the possible imputed values. Defaults to 1:4

Value

data.frame Returns a data.frame with NAs in numeric columns imputed by randomization.


pttry/statfiLaborMarkets documentation built on March 3, 2021, 8:35 p.m.