Infills NA values
infillxy.RdInfill all the missing values (NA) in x with the corresponding values in sim.
Usage
infillxy(x, ...)
# S3 method for default
infillxy(x, sim, ...)
# S3 method for matrix
infillxy(x, sim, ...)
# S3 method for data.frame
infillxy(x, sim, ...)Arguments
- x
numeric, data.frame or matrix in which some values are missing (NA).
- sim
numeric, data.frame or matrix, with the same dimension of
x, which contains the values that will be used for infilling the missing (NA) values inx- ...
further arguments passed to or from other methods.
Details
It gives as a result an object of the same dimension of x, in which all the NA values were infilled with the corresponding values of sim.
Author
Mauricio Zambrano-Bigiarini, mzb.devel@gmail