powered by
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.
mave.data(dr, x, dim = NULL)
the object returned by mave or mave.dim
mave
mave.dim
the original data matrix of p dimensions
the dimension of the reduced data matrix.
coef.mave for obtaining the dimension reduction directions
coef.mave
# NOT RUN { 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) # }
Run the code above in your browser using DataLab