mave.data {MAVE}R Documentation

The reduced data matrix

Description

The function returns the reduced data matrix of the original data. The reduced data matrix is obtained by the original data multiplied by the dimension reduction directions of given dimension.

Usage

mave.data(dr, x, dim = NULL)

Arguments

dr

the object returned by mave or mave.dim

x

the original data matrix of p dimensions

dim

the dimension of the reduced data matrix.

See Also

coef.mave for obtaining the dimension reduction directions

Examples


x <- matrix(rnorm(400),100,4)
y <- x[,1]+x[,2]+as.matrix(rnorm(100))
dr <- mave(y~x)
x.reduced <- mave.data(dr,x,3)

[Package MAVE version 1.3.11 Index]