nanRep {blockmodeling}R 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


[Package blockmodeling version 1.0.5 Index]