Learn R Programming

PPtreeregViz (version 2.0.5)

observation_impute_cpp_simple: Get imputed data

Description

Get imputed data

Usage

observation_impute_cpp_simple(xbar, index_simple, xtest, S)

Value

Numeric matrix

Arguments

xbar

mean of each leaf.

index_simple

Positive integer.

xtest

Numeric matrix. Represents a single test observation.

S

Integer matrix of dimension n_combinations x m, where n_combinations equals the total number of sampled/non-sampled feature combinations and m equals the total number of unique features. Note that m = ncol(xtrain). See details for more information.

Author

Nikolai Sellereite