[R] box type in Hmisc xYplot

David Winsemius dwinsemius at comcast.net
Thu Sep 15 22:32:18 CEST 2016


> On Sep 15, 2016, at 12:59 PM, Cade, Brian <cadeb at usgs.gov> wrote:
> 
> Does anyone know how to change the box type in Hmisc package function
> xYplot.  I want only the left and bottom axes drawn, similar to what I
> would accomplish with bty="l" argument in plot() function.  bty= argument
> did not do anything for me in xYplot().

Frank switched over to lattice so base-graphics arguments are not necessarily honored (unless they're shared with lattice::xyplot). So you need to think how you would specify the options in lattice::xyplot and then try to pass those arguments, since there is a "dots" mechanism. I tried finding a solution in Sarkar's Lattice book but didn't come up with anything. The "box" settings I found applied to bwplot "boxes".

(Not attempting example since no data offered. You might consider searching the archives.)

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list