[R] detecting a key press

2010-08-13 Thread Martin Teicher
Hi Folks, I'm relatively new to r. I'd like to have a user respond by pressing a 1 or a 2 and determining their choice and the time of response. Previous postings have indicated that keyboard responses can be processed using scan and readline but both seem to wait for the user to also press

Re: [R] different outcomes of P values in SPSS and R

2010-08-13 Thread Martin Teicher
R usesType I sequential SS, not the default Type III marginal SS reported by SPSS. There is a good blog post explaining this difference along with some interesting comments -- http://myowelt.blogspot.com/2008/05/obtaining-same-anova-results-in-r-as-in.html Best Wishes, Martin H. Teicher Dept

Re: [R] different outcomes of P values in SPSS and R

2010-08-13 Thread Martin Teicher
): it is true that the sequential/marginal distinction still applies, but I don't think that can be the *only* thing going on here.) On Fri, Aug 13, 2010 at 10:50 PM, Martin Teicher martin_teic...@hms.harvard.edu wrote: R usesType I sequential SS, not the default Type III marginal SS reported