Lattice - parallel: xlim and adding lines
Hi Sundar, Thanks for the reply. And, oops, the panel.parallel.new shouldn't be in there. That is a revised panel function to color according to a group. As with strange, that would generally be 'not-expected', i.e., in the present case, not having an x-axis running from -1 to 1 for all ranges. I would at least expect to have zero in the middle, but that is not so. Excuse me for not expanding 'strange' previously. I have read the guide.., some while ago. Thanks again, Tsjerk On Tue, 29 Mar 2005 14:42:05 -0600
Sundar Dorai-Raj <sundar.dorai-raj at pdf.com> wrote:
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 ______________________________________________ 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