naAsZero: Helper function that converts argument 'x' to the number zero...

View source: R/expression_funks.R

naAsZeroR Documentation

Helper function that converts argument x to the number zero if and only if is.na(x).

Description

Helper function that converts argument x to the number zero if and only if is.na(x).

Usage

naAsZero(x)

Arguments

x

any scalar

Value

0.0 if is.na(x) or x otherwise


asishallab/GeneFamilies documentation built on July 28, 2024, 11:44 a.m.