Re: [R] About Pearson correlation functions

2021-05-30 Thread Mahmood Naderan-Tahan
] About Pearson correlation functions You didn't say how the values differed. If one in the plot is a rounded version of the other then adding the ggpur::ggscatter() argument cor.coeff.args=list(digits=7) will fix things up. -Bill On Sun, May 30, 2021 at 9:18 AM Mahmood Naderan-

Re: [R] About Pearson correlation functions

2021-05-30 Thread Bill Dunlap
You didn't say how the values differed. If one in the plot is a rounded version of the other then adding the ggpur::ggscatter() argument cor.coeff.args=list(digits=7) will fix things up. -Bill On Sun, May 30, 2021 at 9:18 AM Mahmood Naderan-Tahan < mahmood.nade...@ugent.be> wrote: > Hi > > M

[R] About Pearson correlation functions

2021-05-30 Thread Mahmood Naderan-Tahan
Hi Maybe this is not directly related to R, but I appreciate you can help me with an idea. I use the following ggscatter function to plot a Pearson correlation Coefficient and it works fine. In the chart I see both R-value and P-value. ggscatter(mydata, x = "V1", y = "V2", add = "reg.line"