[R] correlation matricies: getting p-values?

David Winsemius dwinsemius at comcast.net
Sun Jun 28 19:03:13 CEST 2015


On Jun 27, 2015, at 8:06 PM, JAVAD BAYAT wrote:

> Dear Bill Venables;
> 
> Hi, I am using "cor" command to get the correlation coefficients for my data
> frame. I found somthing in the following site: "
> <https://stat.ethz.ch/pipermail/r-help/2000-January/009758.html>
> https://stat.ethz.ch/pipermail/r-help/2000-January/009758.html" . I used
> your functions to get the p-values for each variables. But I want to use
> Spearman method for my data frame. 

You should read the help page for the `cor` function. The adjustment to that code will be very minor once  you understand the available parameters.

> 
> 	[[alternative HTML version deleted]]
> 

Now that you have subscribed, you should take the time to read the Posting Guide and learn to set you mail-client to plain-text.

> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list