rmNA: remove NA values

rmNAR Documentation

remove NA values

Description

remove NA values

Usage

rmNA(
  x,
  naValue = NULL,
  rmNULL = FALSE,
  nullValue = naValue,
  rmInfinite = TRUE,
  infiniteValue = NULL,
  rmNAnames = FALSE,
  verbose = FALSE,
  ...
)

Arguments

x

vector input

naValue

NULL or single replacement value for NA entries. If NULL, then NA entries are removed from the result.

rmNULL

logical whether to replace NULL entries with nullValue

nullValue

NULL or single replacement value for NULL entries. If NULL, then NULL entries are removed from the result.

rmInfinite

logical whether to replace Infinite values with infiniteValue

infiniteValue

value to use when rmInfinite==TRUE to replace entries which are Inf or -Inf.

rmNAnames

logical whether to remove entries which have NA as the name, regardless whether the entry itself is NA.

verbose

logical whether to print verbose output

...

additional arguments are ignored.

Details

This function removes NA values, by default shortening a vector as a result, but optionally replacing NA and Infinite values with fixed values.

Value

vector with NA entries either removed, or replaced with naValue, and NULL entries either removed or replaced by nullValue.

See Also

Other jam practical functions: breakDensity(), checkLightMode(), check_pkg_installed(), colNum2excelName(), color_dither(), diff_functions(), exp2signed(), fileInfo(), fixYellow(), getAxisLabel(), handleArgsText(), heads(), isFALSEV(), isTRUEV(), jamba, jargs(), kable_coloring(), lldf(), log2signed(), make_html_styles(), make_styles(), match_unique(), mergeAllXY(), middle(), minorLogTicks(), newestFile(), printDebug(), renameColumn(), rmInfinite(), rmNAs(), rmNULL(), sclass(), sdim(), setPrompt()


jmw86069/jamba documentation built on Oct. 9, 2024, 10:52 a.m.