Corrmap

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Correlation map with variable regrouping.

Synopsis

order = corrmap(data,labels,reord)
order = corrmap(data,reord)

Description

CORRMAP produces a pseudocolor map that shows the correlation between variables (columns) in a data set. The function will reorder the variables by KNN clustering if desired.

The input is the data (data) class "double" or "dataset".

Optional input (labels) contains the variable labels when the data is class "double".

Optional input (reord) will cause CORRMAP to keep the original ordering of the variables if set to 0.

The output (order) is a vector of indices with the variable ordering.

Examples

corrmap(data,labels)

produces a pseudocolor correlation map with variable reordering.

corrmap(data,labels,0)

produces a pseudocolor correlation map without variable reordering.

See Also

autocor, crosscor, xycorrcoef