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 May 22, 2023, 11:30 a.m.