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 June 7, 2023, 6:09 p.m.