[R] FW: question about the pt() calculation

Leitch, Matthew C. mcleitch at UTMB.EDU
Tue Jan 25 22:51:27 CET 2011



From: Leitch, Matthew C.
Sent: Monday, January 24, 2011 6:53 PM
To: 'info at network-theory.co.uk'
Subject: question about the pt() calculation

Hello

Thank you for your time. I am a graduate student at the University of Texas Medical Branch, and I was wondering if you could help me with a R program I am writing. I have some data that is stored a file that has 1733 rows and 4 columns. Each row is independent, so I have a loop system so I don't have to manually perform 1733 t-tests. However I got most of it to work, thanks to the "An Introduction to R" book and a helpful colleague. But I am having some difficulty with getting my t-test scores converted to p-values. The pt() test won't take the t object, but I am unsure how to make it create a p-value for each row. If you have any suggestions they would be greatly appreciated.

Best Wishes
Matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t-practice-script.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110125/73762947/attachment.txt>


More information about the R-help mailing list