Re: [R] colored table

2016-05-30 Thread Tal Galili
Hell Naresh, If to add to what others already wrote, there is also the new {heatmaply } package, which enable you to create *interactive* heatmaps. For examples, you can view the vignette here:

Re: [R] colored table

2016-05-29 Thread Michael Friendly
Hi Naresh If you want to make a graphic of the table, with the frequencies printed in the cells try a mosaic plot from the vcd package library(vcd) mosaic(HairEyeColor[,,1], shade = TRUE, legend=FALSE, labeling=labeling_values) or to make cell sizes proportional to expected frequencies,

Re: [R] colored table

2016-05-29 Thread Jim Lemon
Hi Naresh, Have a look a the addtable2plot function (plotrix), especially the second example, and the color.scale function, also in plotrix. Jim On Sat, May 28, 2016 at 11:10 PM, Naresh Gurbuxani wrote: > I want to print a table where table elements are colored

Re: [R] colored table

2016-05-28 Thread Duncan Murdoch
On 28/05/2016 9:10 AM, Naresh Gurbuxani wrote: I want to print a table where table elements are colored according to the frequency of the bin. For example, consider below table. How to do this depends on how you want to print the result. Are you looking for a LaTeX table, HTML, Word, or

Re: [R] colored table

2016-05-28 Thread Jeff Newmiller
If you don't mix the text and color, heatmaps are pretty standard presentation techniques. -- Sent from my phone. Please excuse my brevity. On May 28, 2016 7:41:53 AM PDT, Bert Gunter wrote: >Hi Naresh: > >I shall be brief, as discussions of what statistical/graphical

Re: [R] colored table

2016-05-28 Thread Bert Gunter
Hi Naresh: I shall be brief, as discussions of what statistical/graphical techniques to use are largely OT. IMO, this is a bad idea. I think the table entries will be very difficult to read and groc. If the tables are unrelated, use 2 tables. If you think they might be related, plot the entries