Learn R Programming

NPBayesImpute (version 0.6)

UpdateX: Allow user to update the model with data matrix of same kind.

Description

Allow user to replace initial matrix with a new data matrix of same size and same number of factors. This is not intended for general use and is only useful for very specific circumstance.

Usage

UpdateX(model, X)

Arguments

model
The Rcpp model object created by the CreateModel function.
X
a data frame with the dataset with missing values. All variables must be unordered factors.