[R] getting p values

Duncan Murdoch murdoch at stats.uwo.ca
Tue Jan 12 19:07:46 CET 2010


On 12/01/2010 10:47 AM, Rosario Garcia Gil wrote:
> Dear colleges
>
> I need to get the p values for a table with 15000 entries of t values. Does any of you know how to do it? I can, of course, get one by one but that is not sensible.
>
>   
Put the t values into a vector, then use pt() in an appropriate way to 
calculate them all at once.  ("An appropriate way" depends on details 
like whether you want one or two tailed value, degrees of freedom, etc.)

Duncan Murdoch



More information about the R-help mailing list