Re: Another question regarding ggplot2 and forest plot

95 views
Skip to first unread message

Shubhabrata Mukherjee

unread,
Dec 12, 2012, 2:17:39 PM12/12/12
to ggp...@googlegroups.com
 Thanks. I was able to re-order the factor levels. But I am still unsure about using a different color for one/two of those studies.

On Wednesday, December 12, 2012 8:26:49 AM UTC-8, Oscar de León wrote:
Just reorder the factor levels.

Check out this question.

Dennis Murphy

unread,
Dec 12, 2012, 3:21:20 PM12/12/12
to Shubhabrata Mukherjee, ggp...@googlegroups.com
HiL

On Wed, Dec 12, 2012 at 11:17 AM, Shubhabrata Mukherjee
<shubh...@gmail.com> wrote:
> Thanks. I was able to re-order the factor levels. But I am still unsure
> about using a different color for one/two of those studies.

Create a new factor variable that has three levels: at J, C and
everything else. Then use the newly created factor as the color
aesthetic in the forest plot. If you don't know how to do that
yourself, then please post a reproducible example.

Dennis
>
>
> On Wednesday, December 12, 2012 8:26:49 AM UTC-8, Oscar de León wrote:
>>
>> Just reorder the factor levels.
>>
>> Check out this question.
>
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
> https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
Reply all
Reply to author
Forward
0 new messages