Re: [R] how to change strip text of effect plot

2011-01-12 Thread Deepayan Sarkar
On Wed, Jan 12, 2011 at 10:36 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hmm, I felt like it was the clearest, most direct way.  Then again, things of this nature (overide defaults using arguments rather than changing what you feed the functions) do seem to be a common request both for

Re: [R] how to change strip text of effect plot

2011-01-12 Thread John Fox
University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Deepayan Sarkar Sent: January-12-11 7:26 AM To: Joshua Wiley Cc: r help Subject: Re: [R] how to change strip

[R] how to change strip text of effect plot

2011-01-11 Thread Wincent
Dear r heper, How can I change the strip text, for example (16,23] in the following example, to other more informative text such as high level on the fly? library(effects) Cowles$ex2 - cut(Cowles$extraversion,3) mod.cowles - glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial)

Re: [R] how to change strip text of effect plot

2011-01-11 Thread Joshua Wiley
Hi, I am guessing this is not what you meant by on the fly, but I think it will be by far the easiest way. Plotting an effects object is a high level plot with a lot of defaults and automation built in to make your life simple. The cost is that it is less flexible---you work its way, not vice

Re: [R] how to change strip text of effect plot

2011-01-11 Thread Wincent
Sure that is one way to go. Since it is possible to pass lattice arguments to that high level function, and there should be ways to relabel/custom the strip text in the lattice plotting system, I would think such an indirect method a last resort. Thank you. Ronggui On 12 January 2011 11:51,

Re: [R] how to change strip text of effect plot

2011-01-11 Thread Joshua Wiley
Hmm, I felt like it was the clearest, most direct way. Then again, things of this nature (overide defaults using arguments rather than changing what you feed the functions) do seem to be a common request both for lattice and ggplot2. In any case, my memory of the lattice book and a quick search