[R] how to find critical values of t in R

From: tom soyer <tom.soyer_at_gmail.com>
Date: Fri, 30 Nov 2007 12:44:23 -0600


I am trying to find a function in R that would calculate the critical value of t for a given probability and df. For example, if p=5% and df=20, then does R have a function to calculate the t value? I tried:

> dt(0.05,df=20)

[1] 0.3934718

That doesn't look right to me. Could someone tell me what I was missing?



	[[alternative HTML version deleted]]

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.
Received on Fri 30 Nov 2007 - 18:48:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 30 Nov 2007 - 19:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.