Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart.Correlation() function #62

Open
lucasfr opened this issue Feb 22, 2018 · 1 comment
Open

chart.Correlation() function #62

lucasfr opened this issue Feb 22, 2018 · 1 comment

Comments

@lucasfr
Copy link

lucasfr commented Feb 22, 2018

Hello,

This is my first issue here so sorry if I am messing things up or saying something that is not accurate. I really like a function called chart.Correlation(), it is available in a package called PerformanceAnalytics.

It would be great to have something similar on Matlab, however the native function plotmatrix() is far less efficient. Would this be something interesting to include in gramm? I thought about developing it myself but never managed to do so.

The function mentioned is available on the link: https://www.rdocumentation.org/packages/PerformanceAnalytics/versions/1.4.3541/topics/chart.Correlation

@piermorel
Copy link
Owner

Hi,

There is no graphical output in your example link, but I know how gplotmatrix looks like. It's not the kind of thing gramm is designed to handle in the first place since plotmatrix() has different plots in the different axes (scatters and histograms on the diagonal right?). However it's surely possible to fake from outside gramm using the g(a,b) = gramm() notation to combine unrelated plots. There are lots of examples in examples.m, including some new stuff for more custom placement of axes. Maybe it would be possible to write a wrapper that uses this trick?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants