MATLAB function for Shift Function plots?
显示 更早的评论
Dear experts,
Is there any way to produce a shift function plot in MATLAB?
For example, as in the following R function:

or:

(taken from: Alnæs, Dag, et al. "Brain heterogeneity in schizophrenia and its association with polygenic risk." JAMA psychiatry (2019). )
3 个评论
Adam Danz
2019-12-19
The link you shared contains a link to the source code (github). If you wanted to reporduce those figures you could start by looking at the source code and converting it to Matlab code.
At first glance, it looks like the lower plot in each example shows the lag from a cross correlation
Johnson
2019-12-20
Johnson
2019-12-20
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!