mrp | R Documentation |
function to project high-dimensional datasets to lower dimention with max-ratio projection.
mrp(data, cl, npc = 4, message = T, ...)
data |
The dataset to apply MRP. Each row is an observation. |
cl |
The class identification for each observation. The length of |
npc |
The number of max-ratio directions to be used in projecting the original data to the projected data. |
message |
Logical. Wheather to show the accumulative variance explained by the projection directions or not. |
A list with the elements
projected_df |
The projected data with selected number of max-ratio directions. |
pccumvar |
The cummulative variance explained by the max-ratio principal components. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.