[R] finding "clusters" in 2-dimensional data

2007-03-22 Thread Nathan Weisz
hi, i have done a time-frequency analysis on magnetencephalographic data under different conditions. the matrices for each condition are three dimensional: frequency x time x subject. to identify time-frequency "areas" of interest i would first calculate a simple t-test for each time frequency po

[R] xyplot with 2 y-axes

2005-08-08 Thread Nathan Weisz
Dear R-helpers, I'm trying to get xyplot to plot 2 y-axes. I looked at the examples and googled around. This is how far I got so far. test<-data.frame(a=rnorm(100),b=rnorm(100)*10,ind=rep(1:10,10),con=rep (1:10,rep(10,10))) xyplot(a+b~con|ind,data=test,allow.multiple=T) This however puts a+b

[R] Re: Visual stimulus presentation using R?

2004-06-22 Thread Nathan Weisz
I saw) the possibility to also read (unbuffered) keyboard input. So what I need is: 1. put images onto the (full!)screen (qick) 2. read keyboard input 3. write results (to an R structure, presumably) Any idea, suggestion? --------- Nathan Weisz Department of Psychology

[R] comparing regression slopes

2004-06-11 Thread Nathan Weisz
> fit1$df.residual [1] NA Does this mean that I can not apply the code for values gained by rlm? In the example above I continued by taking the df from: > summary(fit1)$df[2] [1] 8 Is this o.k.? Help greatly appreciated. Best, Nathan Weisz __ [EM

[R] repeated measures aov problem

2003-12-17 Thread Nathan Weisz
ror: Within Df Sum Sq Mean Sq F value Pr(>F) drug:dose 2 12.063 6.031 0.6815 0.5140 gp:drug:dose 2 14.812 7.406 0.8369 0.4436 Residuals28 247.792 8.850 Can someone give me a hint where I migth be going wrong? Howeve

[R] Linear mixed effects models

2003-02-21 Thread Nathan Weisz
wever it didn't (it was just a big mess). Any hints? Thanks for your patience and all the best, Nathan ------- Nathan Weisz Institute for Clinical Psychology and Behavioral Neuroscience University of Konstanz P.O. Box D25 D - 78467 Konstanz GERMANY Tel: +49