[R] figure with inset

2005-12-06 Thread Pascal . Niklaus
I am trying to plot a figure within a figure (an inset that shows a closeup of part of the data set). I have searched R-help and other sources but not found a solution. What I would like to do is (1) produce a plot (2) specify a window that will be used for the next plot (in inches or using the

Re: [R] figure with inset

2005-12-06 Thread Pascal . Niklaus
() # ...or just the plotting are (coordinate system) par(plt=gridPLT(),new=T) # draw frame around selected area (for illustration only) grid.rect(gp=gpar(lwd=3,col=red)) # plot inset figure plot(x,y,xaxs=i,yaxs=i,xlab=,ylab=) # pop all viewports from stack popViewport(4) Pascal Niklaus

RE: [R] draft of posting guide

2003-12-23 Thread Pascal . Niklaus
Having followed the discussion about this posting guide, I'd like to add a few comments. While I think that the *content* is fully appropriate, I am not sure whether the *form* is the appropriate, for the following reason: - The folks posting questions like I've installed R two minutes ago,

[R] nested aov: plot available?

2003-12-11 Thread Pascal . Niklaus
Hi all, I wonder whether, for an anova with multiple error strata, it is possible to produce the same diagnostoc plots than with a single-stratum anova. I can extract the residuals for each stratum with e.g. resid(split1.aov[[block:plot]]) resid(split1.aov[[Within]]) and then produce

[R] Indexing ANOVA table

2003-11-29 Thread Pascal . Niklaus
Hi all, I'd like to extract a value from an ANOVA table, but experience the following problem: ### This works: s.pseudo - summary(aov(m ~ block + mix*graz,data=split1)) s.pseudo Df Sum Sq Mean Sq F value Pr(F) block2 1114.66 557.33 4.4296 0.04192 * mix 1

[R] coplot row separatot line

2003-11-23 Thread Pascal . Niklaus
Hi all, I could not find a way to add the dashed horizontal separator line to the top panel of a coplot (the one indicating which panel belongs to which range of the given variable a in y~x | a). This line should separate the ranges plotted in a row of panels in the panel matrix below (hmmm,