handle_NA: Function replace NAs with 0 for integers and replace NAs with...

Description Usage Arguments Value

Description

Function replace NAs with 0 for integers and replace NAs with "missing" in character columns

Usage

1
2
handle_NA(data, set_num = 0, set_logical = FALSE,
  set_char = "missing", set_array)

Arguments

set_num

replace NULL values in numeric type by set_num

set_logical

replace NULL values in logical type by set_num

set_char

replace NULL values in character type by set_num

Value

data without NULL values


d-ghale/easyDataScience documentation built on May 11, 2019, 7:26 p.m.