Re: [R] T test for Single Mean

2013-06-19 Thread Bert Gunter
(Re-) Read the docs (e.g. Intro to R, R Language Definition) . ... arguments have to be named! t.test(sleep$extra,mu=0, alt = "greater") ## works -- Bert On Wed, Jun 19, 2013 at 6:50 AM, Sparks, John James wrote: > Dear R Helpers, > > I am stuck on some syntax and I thought that I was followin

[R] T test for Single Mean

2013-06-19 Thread Sparks, John James
Dear R Helpers, I am stuck on some syntax and I thought that I was following one of the examples that I found out there quite faithfully. I just want to know how to do a t test on a single mean for whether or not it is greater than a specific value. So I am using the data set sleep and I want to