change_NA: Replace NA Values

Description Usage Arguments Value Examples

View source: R/jigsaw.R

Description

replaces NA value with value in new (default = 0). For a different way to accomplish this: http://stackoverflow.com/questions/7235657/fastest-way-to-replace-nas-in-a-large-data-table#7249454

Usage

1
change_NA(original, new = 0)

Arguments

original

column from data table

new

replacement value (default = 0)

Value

Vector with NA replaced

Examples

1
## Not run: # nothing here yet

outcomesinsights/jigsaw_r documentation built on May 24, 2019, 5:54 p.m.