Hi,
Look at the "See also" section of ?cor
Best,
Ista
On Wed, Apr 25, 2012 at 9:30 AM, Aaditya Nanduri
<aaditya.nanduri at gmail.com> wrote:> Hey everyone,
>
>
> I hope this finds you in good cheer.
>
> I just have a quick question: What is the function that outputs the p-value
> for correlation?
>
> cor(x,y) only provides the R value. I would like the p-value associated
> with it.
>
> Thank you all for your help!
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.