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


[Package eHDPrep version 1.3.3 Index]