naImpute: Impute NA's

View source: R/naImpute.R

naImputeR Documentation

Impute NA's

Description

Function used to fill NAs with imputation values, while adding NA flags to the data.

Usage

naImpute(FMLA, DATA, impfn = median, na.rm = TRUE, include.NA.flags = TRUE)

Arguments

FMLA

Formula

DATA

Data

impfn

Function for imputing.

na.rm

What to do with NA's

include.NA.flags

Should NA flags be included

Value

Structure


RItools documentation built on June 22, 2024, 9:06 a.m.