Can you get individual r and p values using lsline?

2 views (last 30 days)
Hello,
I am using lsline (after using gscatter to plot grouped data), and it does an elegant job of creating those best fit lines for me. I wonder if I am able to get r and p-values for each of these lines this way. I don't see any output like I do with polyfit in order to use the corr, or corrcoef commands.
I also am having issues adjusting my Y-Lim once the lines appear -- it simply won't let me change it but seems to balloon the Y Lim out a little past what I'd like. Thank you!

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!