[R] Display a contingency table on the X11 device

Dennis Murphy djmuser at gmail.com
Wed Oct 5 22:36:25 CEST 2011


Thanks, Baptiste. I was looking for tableplot() or something like it
and thought textplot() was doing something different. Appreciate the
correction.

Dennis

On Wed, Oct 5, 2011 at 1:29 PM, baptiste auguie
<baptiste.auguie at googlemail.com> wrote:
> On 6 October 2011 09:23, Dennis Murphy <djmuser at gmail.com> wrote:
>> Hi:
>>
>> One option is the gridExtra package - run the example associated with
>> the tableGrob() function. Another is the addtable2plot() function in
>> the plotrix package. I'm pretty sure there's at least one other
>> package that can do this; I thought it was in the gplots package, but
>> couldn't find one that I think should apply. Perhaps others can chime
>> in...
>
> it's called gplots::textplot()
>
> baptiste
>>
>> Dennis
>>
>> On Wed, Oct 5, 2011 at 6:08 AM, Parker Jones <zoubidoo at hotmail.com> wrote:
>>>
>>> Hello,
>>>
>>> I'd like to output a table to the x11 device, but I can't seem to find an easy way to do it.  Specifically, I'd like to display a 2x2 contingency table alongside a graphical plot, but can only see how to output to the console.  Is there a library that can do this?
>>>
>>> Thanks for any suggestions,
>>> Parker
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>



More information about the R-help mailing list