Quotes help make search much faster. Example: "Practice Makes Perfect"

Tuesday, October 22, 2013

In R, how do you test if the correlation between two vectors is statistically significant?


Answer:

cor.test(VectorA, VectorB)

// this will display a report showing the p-value
// a p-value less than 0.05 is considered statistically significant

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts