[R] Difference between xyplot() and plot()

S Ellison S.Ellison at LGCGroup.com
Fri Oct 28 12:55:15 CEST 2011


 

> From:  Jörg Reuter
> 
>  Why 
> is the line with xyplot() not always in the middle of the 
> dots like plot()?

Because you used the base graphics command abline() on a lattice plot? 

They don't mix. The plot regions are different for lattice and base graphics - notice that the second abline doesn;t go to the window edges either.

S Ellison

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list