nanRep function

Replaces NaN values by the speficied values (0 by default)

UTF-8

Replaces NaN values by the speficied values (0 by default)

nanRep(x, rep = 0)

Arguments

  • x: A vector or similar where the NaNs are to be replaced.
  • rep: A value that should replace the NaNs (0 by default).

Returns

x with NaNs replaced by rep.

Author(s)

  • Maintainer: Aleš Žiberna
  • License: GPL (>= 2)
  • Last published: 2023-08-23

Useful links