max_catchNAs: Find maximum of vector safely

View source: R/semantic_enrich.R

max_catchNAsR Documentation

Find maximum of vector safely

Description

This low-level function is deployed as part of the semantic enrichment process.Calculates maximum of values in numeric vector (ignoring NAs). If all values in input vector are NA, returns NA (rather than -Inf),

Usage

max_catchNAs(x)

Arguments

x

numeric vector

Value

maximum value of x


eHDPrep documentation built on June 7, 2023, 6:09 p.m.