powered by
Replaces NaN values by the speficied values (0 by default)
nanRep(x, rep = 0)
x with NaNs replaced by rep.
A vector or similar where the NaNs are to be replaced.
A value that should replace the NaNs (0 by default).
Aleš Žiberna