replaceNAWith: Replaces all NAs

Description Usage Arguments Examples

View source: R/replaceNAWith.R

Description

Replaces all NAs with whatever is specified.

Usage

1
replaceNAWith(x, replacement)

Arguments

x

data.table.

Examples

1
2
3
4
x <- data.table::fread(system.file("extdata", "NA0.csv", package = "nladwa"))
print(x)
replaceNAWith(x = x, replacement = 0)
print(x)

Braja93/braja documentation built on June 1, 2017, 5:19 p.m.