[R] compute p/t value from pearson r and n
batholdy at googlemail.com
Sun Feb 24 22:29:17 CET 2013
But I actually do not have two vectors but just a correlation coefficient and want to get the p value.
As far as I can see it, cor.test only works when having raw data pairs or am I missing something?
On Feb 24, 2013, at 22:24 , Miguel Manese <jjonphl at gmail.com> wrote:
> Hi Martin,
> See ?cor.test
> - Jon
> On Mon, Feb 25, 2013 at 5:06 AM, Martin Batholdy
> <batholdy at googlemail.com> wrote:
>> is there a predefined function that computes the p- or t-value
>> based on a correlation coefficient and its sample size?
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help