Learn R Programming

bestglm (version 0.37.3)

sphereX: Sphere Data Matrix

Description

The data matrix is scaled and sphered so it is orthonormal. The Cholesky decomposition is used.

Usage

sphereX(X)

Arguments

X

X rectangular data matrix

Value

sphered matrix

See Also

scale, NNPredict

Examples

Run this code
# NOT RUN {
data(longley)
longley.x <- data.matrix(longley[, 1:6])
sphereX(longley.x)
# }

Run the code above in your browser using DataLab