Re: [R] Isolating a single plot from plots produced simultaneously

2009-06-09 Thread Thomas Lumley
On Tue, 9 Jun 2009, Laura Bonnett wrote: I'd like to isolate the second plot produced (the estimated functional form of the influence of age on the log relative hazard) so that I can use the 'points' function to add the linear predictors for the untransformed and the log-transformed models. In

Re: [R] Isolating a single plot from plots produced simultaneously

2009-06-09 Thread David Winsemius
This is almost certainly a device-dependent issue, which is the reason the Posting Guide requests that you include such details. On a Mac using the GUI interface, one can scroll backwards through the graphics windows with -. With the plot of interest as the focus one can then issue additona

[R] Isolating a single plot from plots produced simultaneously

2009-06-09 Thread Laura Bonnett
Dear R-Help, I am using the 'mfp' package. It produces three plots (as I am using the Cox model) simultaneously which can be viewed together using the following code: fit <- mfp(Surv(rem.Remtime,rem.Rcens)~fp(age)+strata(rpa),family=cox,data=nearma,select=0.05,verbose=TRUE) par(mfrow=c(2,2)) pl