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

2007-11-30 Thread tom soyer
Thanks Peter! On 11/30/07, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > tom soyer wrote: > > Hi, > > > > 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 calc

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

2007-11-30 Thread Peter Dalgaard
tom soyer wrote: > Hi, > > 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 do

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

2007-11-30 Thread tom soyer
Hi, 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