sum_catchNAs {eHDPrep}R 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


[Package eHDPrep version 1.2.1 Index]