Learn R Programming

missForestPredict (version 1.0)

check_predictor_matrix: Performs checks on a custom predictor matrix

Description

Performs a number of checks on a custom predictor matrix and returns error if the matrix is not in a valid format.

Usage

check_predictor_matrix(predictor_matrix, data, verbose = TRUE)

Value

No return value, only verifies the validity the provided predictor matrix

Arguments

predictor_matrix

custom predictor matrix

data

dataframe to be imputed

verbose

if TRUE, returns human readable message for the checks performed.