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
______________________________________________
R-help@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.