# GMT Regress. R value

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-regress-r-value/1596>\
**Category:** Q&A\
**Created:** [April 20, 2021, 5:54pm UTC](https://forum.generic-mapping-tools.org/t/gmt-regress-r-value/1596 "2021-04-20T17:54:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [April 20, 2021, 5:54pm UTC](https://forum.generic-mapping-tools.org/t/gmt-regress-r-value/1596/1 "2021-04-20T17:54:15Z")

</div>

I notice that when I run something like `gmt regress $Data -Fxy` I get 11 values (in the header) but when I run `gmt regress $Data -Fp` i got 8.

> Best regression: N: 163 x0: 54.9595 y0: 3.9365 angle: 0.462163 E: 1.09725 slope: 0.00806645 icept: 3.49318 sig\_slope: 0.000791986 sig\_icept: 0.078326 corr: 0.608249 R: 0.369967 N\_eff: 163

```
163	54.9595092025	3.93650306748	0.462163351307	1.09724661653	0.00806644711023	3.4931750933	0.000791986061922	0.0783260449988

```

I just want to get the R value to plot it in the graph. How could I do it? It would be easier if -Fp inform all the 11 values. Should I request for this feature?

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [April 20, 2021, 6:45pm UTC](https://forum.generic-mapping-tools.org/t/gmt-regress-r-value/1596/2 "2021-04-20T18:45:40Z")

</div>

Yes, please open an issue - call it a bug. I think I forgot to extend the -Fp output when I added R N\_eff etc.
