fixNAs: FixNAs

Description Usage Arguments Value

View source: R/pipeline.R

Description

Replaces missing values: Integer columns get the integer closest to the arithmetic mean of the column, Numeric columns get ther arithmetic mean of the column, Columns of nothing but NAs get deleted, And Character columns get the string 'Unknown'

Usage

1
fixNAs(data, replacement = "Unknown")

Arguments

data

a Dataframe with some NAs to replace

Value

A dataframe without any NAs


AABoyles/ShRoud documentation built on May 5, 2019, 11:28 a.m.