quantile_normalize_bart {SoftBart} | R Documentation |
Quantile normalization for predictors
Description
Performs a quantile normalization to each column of the matrix X
.
Usage
quantile_normalize_bart(X)
Arguments
X |
A design matrix, should not include a column for the intercept. |
Value
A matrix X_norm
such that each column gives the associated
empirical quantile of each observation for each predictor.
Examples
X <- matrix(rgamma(100 * 10, shape = 2), nrow = 100)
X <- quantile_normalize_bart(X)
summary(X)
[Package SoftBart version 1.0.1 Index]