[R] post-hoc test (glht?) which takes treatment into account not just explanatory variable overall

2011-04-22 Thread Ellis, David
Hi R helpers! I have used a glht as a post-hoc test on an lmer with: -2 treatments (A & B) -1 categorical explanatory variable (song type) -1 response variable (latency to respond) I wanted to make comparisons between the categorical variables depending on treatment. At the moment the glht simp

[R] Extrapolating data points for individuals who lack them

2011-04-20 Thread Ellis, David
Hi, We have an experiment where individuals responses were measured over 5 days. Some responses were not obtained because we only allowed individuals to respond within a limited time-frame. These individuals are given the maximum response time as they did not respond, yet we feel they may have

[R] boxplot with 2 treatments and 2 variables (with 2 corresponding y-axes)

2011-04-15 Thread Ellis, David
Hi, I am a complete newcomer to R and although I can plot standard box-plots I am struggling with this... I have two treatments - A & B, and 2 variables 1 & 2. I want to compare boxplots of variable 1 with variable 2 for each treatment. I would also like them to all be on the same graphic. I