Visualization of correlation matrix: mycorrplot_1, mycorrplot_2

バージョン 1.3.0.0 (15.6 KB) 作成者: Wei-Ting Lin
Plot the results of correlation (i.e. corr(X), corr(X,Y)) in a figure with table-like structure.
ダウンロード: 1.3K
更新 2015/11/21

ライセンスの表示

mycorrplot_1.m : display result of corr(X)
mycorrplot_2.m : display result of corr(X,Y))
Documentation can be found on https://github.com/weitingwlin/matlabutility/tree/master/documents

R values and Significance levels (range of P values) are visualized as the color and sizes of circle. User can also chose to see scatter plots, and/or text with R and P values on one triangle. Rows with NaN will be removed for each pair of variables. Input can be matrix or table.

Inspired by :
corrplot : from Matlab econometrics tool box
correlationCircles by David Legland
R package corrplot

Depend on :
Matlab Statistics and Machine Learning Toolbox
my functions: plot_circle.m, mycolor.m, nancorr.m, tnames.m

引用

Wei-Ting Lin (2024). Visualization of correlation matrix: mycorrplot_1, mycorrplot_2 (https://www.mathworks.com/matlabcentral/fileexchange/48131-visualization-of-correlation-matrix-mycorrplot_1-mycorrplot_2), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDescriptive Statistics and Visualization についてさらに検索
謝辞

ヒントを得たファイル: num2cellstr, Correlation circles, mycolor(colorcode, selectplate)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.3.0.0

Edit documentation
Use cellfun('length', xnames) to calculated label size. (instead of my function [str_size])
Edit function: input can be "matrix" or "table". Rows with NaN will be removed for each pair of variables. Improved documentation

1.2.0.0

Fix dependent file [my_colorplates.mat]

1.1.0.0

Editing the description.

1.0.0.0