sum_catchNAs: Sum vector safely for semantic enrichment

View source: R/semantic_enrich.R

sum_catchNAsR Documentation

Sum vector safely for semantic enrichment

Description

sums values in x (ignoring NAs). If all values in x are NA, returns NA (rather than 0),

Usage

sum_catchNAs(x)

Arguments

x

numeric vector

Value

sum of x


eHDPrep documentation built on Oct. 21, 2026, 5:10 p.m.