Pearson correlation co efficient

Is there a way to summarize the Pearson correlation co efficient between 2 columns in R?

This post was flagged by the community and is temporarily hidden.

You mean like this?

cor(x = runif(10), y = runif(10), method = "pearson")

Or this?

cor(x = data.frame(x = runif(10), y = runif(10), z = runif(10)), method = "pearson")

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.