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

View source: R/ArrayUtils.R

UpdateXR Documentation

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.


NPBayesImputeCat documentation built on Oct. 3, 2022, 5:05 p.m.