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

View source: R/nanRep.R

nanRepR Documentation

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

Description

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

Usage

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).

Value

x with NaNs replaced by rep.

Author(s)

Aleš Žiberna


blockmodeling documentation built on Aug. 23, 2023, 5:07 p.m.