Skip to contents

Converts all NA elements in a vector or matrix to 0.

Usage

OR.NA.to.0(x)

Arguments

x

Numeric vector or matrix.

Value

The input object with all NA values replaced by 0.