Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maximize_correlation-dimRedResult-method

Maximize Correlation with the Axes


Description

Rotates the data in such a way that the correlation with the first naxes axes is maximized.

Usage

## S4 method for signature 'dimRedResult'
maximize_correlation(object,
  naxes = ncol(object@data@data), cor_method = "pearson")

Arguments

object

A dimRedResult object

naxes

the number of axes to optimize for.

cor_method

which correlation method to use

Details

Methods that do not use eigenvector decomposition, like t-SNE often do not align the data with axes according to the correlation of variables with the data. maximize_correlation uses the optimx package to rotate the data in such a way that the original variables have maximum correlation with the embedding axes.


dimRed

A Framework for Dimensionality Reduction

v0.2.3
GPL-3 | file LICENSE
Authors
Guido Kraemer [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.