MPimputeNAs: Impute values for NAs in a matrix or other object

Description Usage Arguments

Description

(This is a general-purpose function and works on many types of objects with some NAs. The object must support operations: sum, method (e.g. mean), and subsetting via []).

Usage

1
MPimputeNAs(x, method = mean)

Arguments

x

matrix or dist object

method

function, is applied on x to find the imputed values. This function must be able to perform method(x, na.rm=TRUE)


tkonopka/MultiPattern documentation built on May 31, 2019, 3:45 p.m.