[R] Lattice - parallel: xlim and adding lines

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Tue Mar 29 22:42:05 CEST 2005



T.A.Wassenaar wrote on 3/29/2005 2:17 PM:
> 
> Hi,
> 
> I'm trying to set the minimum and maximum in a parallel plot, but trying 
> xlim=c(-1,1) gives strange results. Am I missing something? The call I 
> give is:
> 
> parallel(~X[,c(6,9,12,15,18)]|X$ff,X,panel=panel.parallel.new,groups=X$protein,layout=c(3,1),xlim=c(-1,1)) 
> 
> 
> Besides, I would like to add a reference line to the plot, but can't 
> find how to do that.
> 
> I hope someone can give me a hint or two.
> 
> Thanks in advance,
> 
> Tsjerk
> 

Tsjerk,

I don't think you'll get much help without knowing, first, what 
"strange" means, and second, what "panel.parallel.new" does. And you can 
always add a reference line by using panel.abline in your panel function.

And, from the signature:

PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html

--sundar




More information about the R-help mailing list