prod_catchNAs {eHDPrep} | R Documentation |
Find product of vector safely
Description
This low-level function is deployed as part of the semantic enrichment
process. Calculates product of values in numeric vector (ignoring NAs). If
all values in numeric vector are NA
, returns NA
(rather than
Inf),
Usage
prod_catchNAs(x)
Arguments
x |
numeric vector |
Value
product of x
[Package eHDPrep version 1.3.3 Index]