na2zero: Replace NAs with zeros

Description Usage Arguments Examples

Description

This function replaces NAs with zeros.

Usage

1
na2zero(x, zero = 0)

Arguments

x

A R object containing zero to be replaced by NAs.

zero

Replacement for missing values in x (Default is 0)

Examples

1
na2zero(c(1,2,NA,3,5))

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.