NaToZero: INTERNAL FUNCTION: Replace missing values by zero

View source: R/LmImpute.r

NaToZeroR Documentation

INTERNAL FUNCTION: Replace missing values by zero

Description

INTERNAL FUNCTION: Replace missing values by zero

Usage

NaToZero(x, warn = NULL)

Arguments

x

Input data

warn

Warning text when non-null

Value

Input data where missing is replaced by zero

Examples

NaToZero(c(1,2,NA,4))


statisticsnorway/Kostra documentation built on Nov. 2, 2024, 6:40 p.m.