You might want to look at Prof Harrell's rms package which is a remarkable collection of regression tools reflecting his philosophy, including many graphical displays.
It now (as of V3.0?) produces data frames from the Predict command and these df slide nicely into ggplot2.
Harrell and Hadley are clearly friends and while Harrell's current rms package does not yet make (extensive use) of ggplot, I suspect that plans are afoot.
I will say that have had less success (probably reflecting lack of effort) in converting Harrell's elegant bplot (heat-map) outputs into something equally elegant in ggplot2. But the fautl lies not in the software, but in the operator. For displaying categorical predictors, etc, you can start with the rms standard outputs and then use the dataframes which get generated by Predict to feed ggplot. That said, rms has a very particular and specific take on things like bootstrapping, calibration, and to use it well really requires engaging with Harrell's larger methodological and statistical perspective.
---------------------------
Robert C James, PhD
On Mon 11/10/10 05:33 , Manuel Spínola mspin...@gmail.com sent:
Institutional website: ICOMVIS
--
Manuel Spínola, Ph.D.
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspi...@una.ac.cr
mspin...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río
Institutional website: ICOMVIS
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: http://gist.github.com/270442
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
Fiss PC (2007) A Set-theoretic Approach to Organizational Configurations. Academy of Management Review. 32:1180-1198.
--J
On Oct 12, 2010, at 06:48, Manuel Spínola wrote:
> Thank you very much Dennis.
> Yes, that is the problem, the 32 combinations. This was my best model according to AIC and I am trying to plot the results.
> I will try your suggestion.
> Best,
>
> Manuel
>
>
> On 11/10/2010 02:17 p.m., Dennis Murphy wrote:
>> Hi:
>>
>> The problem is that with five factors each at two levels, there are 32 factor combinations. I suppose you could combine the levels of two factors twice to produce a 4 x 4 plot, and then make one plot with all 16 combinations at level 0 of the fifth factor and another at level 1 of the fifth factor. You could then use the 'paste two graphs on one page' trick using the ideas from section 8.4 of Hadley's book. I suspect that plot will be a bit cramped, but it's one approach to the problem...
>>
>> HTH,
>> Dennis
>>
>> On Mon, Oct 11, 2010 at 10:10 AM, Manuel Spínola <mspin...@gmail.com <mailto:mspin...@gmail.com>> wrote:
>>
>> Thank you very much Rob.
>>
>> I will take a look at the rms.
>> I am following the idea of Andrew Gelman of plotting the model.
>> instead of presenting a table with the coefficients, something
>> that I do not see very often, at least in ecology. Now, I found
>> that having several categorical predictors, and even some of them
>> with several levels, is challenging for showing the results, and
>> even more challenging to make the plots. I tried the effects
>> package from John Fox, but the plot for categorical predictor is
>> not what I would like for this type of variables.
>> Best,
>>
>> Manuel
>>
>> 2010/10/11 Rob James <r...@aetiologic.ca <mailto:r...@aetiologic.ca>>
>>
>> You might want to look at Prof Harrell's rms package which is
>> a remarkable collection of regression tools reflecting his
>> philosophy, including many graphical displays.
>>
>> It now (as of V3.0?) produces data frames from the Predict
>> command and these df slide nicely into ggplot2.
>>
>> Harrell and Hadley are clearly friends and while Harrell's
>> current rms package does not yet make (extensive use) of
>> ggplot, I suspect that plans are afoot.
>>
>> I will say that have had less success (probably reflecting
>> lack of effort) in converting Harrell's elegant bplot
>> (heat-map) outputs into something equally elegant in ggplot2.
>> But the fautl lies not in the software, but in the operator. For displaying categorical predictors, etc, you can start with
>> the rms standard outputs and then use the dataframes which get
>> generated by Predict to feed ggplot. That said, rms has a very
>> particular and specific take on things like bootstrapping,
>> calibration, and to use it well really requires engaging with
>> Harrell's larger methodological and statistical perspective.
>>
>>
>>
>> ---------------------------
>> Robert C James, PhD
>>
>> *On Mon 11/10/10 05:33 , Manuel Spínola mspin...@gmail.com
>> <mailto:mspin...@gmail.com> sent:
>> *
>> -- *Manuel Spínola, Ph.D.*
>> Instituto Internacional en Conservación y Manejo de Vida
>> Silvestre
>> Universidad Nacional
>> Apartado 1350-3000
>> Heredia
>> COSTA RICA
>> mspi...@una.ac.cr
>> mspin...@gmail.com
>> Teléfono: (506) 2277-3598
>> Fax: (506) 2237-7036
>> Personal website: Lobito de río
>> <https://sites.google.com/site/lobitoderio/>
>> Institutional website: ICOMVIS
>> <http://www.icomvis.una.ac.cr/>
>> -- You received this message because you are subscribed to
>> the ggplot2 mailing list.
>> Please provide a reproducible example:
>> http://gist.github.com/270442
>>
>> To post: email ggp...@googlegroups.com
>> <mailto:ggp...@googlegroups.com>
>> To unsubscribe: email ggplot2+u...@googlegroups.com
>> <mailto:ggplot2%2Bunsu...@googlegroups.com>
>> More options: http://groups.google.com/group/ggplot2
>>
>> -- You received this message because you are subscribed to the
>> ggplot2 mailing list.
>> Please provide a reproducible example:
>> http://gist.github.com/270442
>>
>> To post: email ggp...@googlegroups.com
>> <mailto:ggp...@googlegroups.com>
>> To unsubscribe: email ggplot2+u...@googlegroups.com
>> <mailto:ggplot2%2Bunsu...@googlegroups.com>
>> More options: http://groups.google.com/group/ggplot2
>>
>>
>> -- You received this message because you are subscribed to the
>> ggplot2 mailing list.
>> Please provide a reproducible example: http://gist.github.com/270442
>>
>> To post: email ggp...@googlegroups.com
>> <mailto:ggp...@googlegroups.com>
>> To unsubscribe: email ggplot2+u...@googlegroups.com
>> <mailto:ggplot2%2Bunsu...@googlegroups.com>
>> More options: http://groups.google.com/group/ggplot2
>>
>>
>
>
> --
> *Manuel Spínola, Ph.D.*
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspi...@una.ac.cr
> mspin...@gmail.com
> Teléfono: (506) 2277-3598
> Fax: (506) 2237-7036
> Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
>