Re: [R-SIG-Mac] R stats: not recognising 'F' as 'FALSE'

2016-02-11 Thread David R Forrest
Is F defined as anything unusual? > F [1] FALSE > pt(q=1.12, df=12, lower.tail=F) [1] 0.1423149 > F<- pi > pt(q=1.12, df=12, lower.tail=F) [1] 0.8576851 > F<- FALSE > pt(q=1.12, df=12, lower.tail=F) [1] 0.1423149 > > On Oct 30, 2015, at 12:30 PM, Liam Shaw wrote: > >

Re: [R-SIG-Mac] R stats: not recognising 'F' as 'FALSE'

2016-02-11 Thread Duncan Murdoch
On 30/10/2015 12:30 PM, Liam Shaw wrote: A student noticed that passing 'F' for 'FALSE' did not have an effect when using functions in the stats base package. Example: pt(q=1.12, df=12, lower.tail=TRUE) [1] 0.8576851 pt(q=1.12, df=12, lower.tail=F) [1] 0.8576851 pt(q=1.12, df=12,

[R-SIG-Mac] R stats: not recognising 'F' as 'FALSE'

2016-02-10 Thread Liam Shaw
A student noticed that passing 'F' for 'FALSE' did not have an effect when using functions in the stats base package. Example: > pt(q=1.12, df=12, lower.tail=TRUE) [1] 0.8576851 > pt(q=1.12, df=12, lower.tail=F) [1] 0.8576851 > pt(q=1.12, df=12, lower.tail=FALSE) [1] 0.1423149 I couldn't