[R] Remove lattice panel

Duncan Mackay dulcalma at bigpond.com
Wed Mar 5 23:36:04 CET 2014


Hi

If you want to remove a panel with no plots in  it see

?lattice::xyplot 
and look for drop.unused.levels

If you want to remove a factor that has plot values in it then the easiest
way may be to create a column of the factor and NA the values of the panel,
relevel the factor and use the column instead
Otherwise an example via dput would be needed for further help

Duncan

Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mackay at northnet.com.au

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of catalin roibu
Sent: Thursday, 6 March 2014 07:11
To: r-help at r-project.org
Subject: [R] Remove lattice panel

Dear all,

Is there a possibility to remove the panel (with names) from a lattice plot?

Thank you very much for your help!

---
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone     +4 0230 52 29 78, ext. 531
mobile phone   +4 0745 53 18 01
                       +4 0766 71 76 58
FAX:                +4 0230 52 16 64
silvic.usv.ro

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list