[R] skip missing values in plots

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Feb 11 09:06:59 CET 2005


Dean Sonneborn wrote:

>          I really like these Trellis graphics but how do I get this code to 
> skip the missing?


What is missing here? Some precision in your question, perhaps?
We do not have logreg.csv, so please tell us what is going on, or even 
better specify a minimal reproducible example, as the posting guide 
suggests.


> logreg<-read.csv("logreg.csv", header=TRUE, sep=",", na.string=" ")
> attach(logreg)

Why do you attach()?

Uwe Ligges


> bwplot(yesno~bc_pcb_tot |varlist, data=logreg, main="Box Cox PCB 
> transformation",  auto.key=TRUE, fontfamily = "HersheySans" )
> 
> 
> Dean Sonneborn M.S.
> Public Health Sciences *
> University of California, Davis
> 916 734-6656
> 
> * formerly Epidemiology & Preventive Medicine
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list