[R] interpretation of summary.lm() for ANOVA and ANCOVA when dealing with 2 or more factors

2010-08-05 Thread Birte Reichstein
Hi, I am having a hard time getting what the summary.lm-output for an ANOVA / ANCOVA means. Examples I find always seem to deal with simpler cases than what I meet in my data. My main problem is understanding the output when getting significant INTERACTION TERMS (what never occurs in examples

[R] Using" fig=" in one screen created with "split.screen()"

2010-07-20 Thread Birte Reichstein
Hi, I successfully created 3 screens with the following: fig.mat<-c(0,.5,.5,.5,1,1,0,0,.5,1,.5,1) fig.mat<-matrix(fig.mat,nrow=3) fig.mat split.screen(fig.mat) I can plot three different plots on those 3 screens, but when I try the following: (Trying to create three graphs with a common x-axis

Re: [R] R graphic help

2010-07-19 Thread Birte Reichstein
Hi Tim, You might want to try it with the following: par(usr=c(-2,1,ymin,ymax) Where -2 and 1 are the exponents for your x-values, and ymin and ymax the margins you want for your y-values. Then you plot as usual adding the following parameters: plot(x,y,,log="x",xlim=c(10^par("usr")[1:2]