procx: Helper function for pre-processing the predictors

View source: R/procx.R

procxR Documentation

Helper function for pre-processing the predictors

Description

Continuous predictor variables are standardized - mean zero, standard deviation one. Categorical predictor variables are represented as dummy (0, 1) variables.

Usage

procx(X)

Arguments

X

An N by P matrix with predictor variables

Value

Xoriginal

dichotomous indicator which predictor variables are dichotomous

X standardized matrix

mx averages of original variables

sdx standard deviation of original variables


lmap documentation built on April 3, 2025, 5:47 p.m.

Related to procx in lmap...