i am looking Pearson correlation ( r ) guideline
Built into R's base stats package is the cor()
function,
https://www.rdocumentation.org/packages/stats/versions/3.6.1/topics/cor
Note that you can set method="pearson"
## Two simple vectors
cor(1:10, 2:11, method = "pearson")
#> [1] 1
Created on 2019-11-08 by the reprex package (v0.3.0)
If you're looking for me, check out the R-package polycor
.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.