[R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

Robert Baer rbaer at atsu.edu
Mon Mar 27 00:54:36 CEST 2017


Quite nice Jim.  A little par() magic, some well thought plot window 
dimensions, and good to go.

I wasn't looking, but now that I've seen it, I can imagine uses.

Bruce - see also 
https://cran.r-project.org/web/packages/xtable/vignettes/xtableGallery.pdf

On 3/26/2017 4:28 PM, Jim Lemon wrote:
> Hi Bruce,
> Well, a start might be:
>
> bdf<-data.frame(Pre=sample(10:20,10),
>   During=sample(8:18,10),
>   EOT=sample(5:15,10),fu3mo=sample(7:17,10),
>   fu6mo=sample(10:20,10))
> rownames(bdf)<-paste("S",1:10,sep="")
> plot.new()
> library(plotrix)
> addtable2plot(0.15,0.2,bdf,display.rownames=TRUE,
>   bty="o",vlines=TRUE,hlines=TRUE,title="My table")
>
> Jim
>
>
> On Mon, Mar 27, 2017 at 4:16 AM, MyCalendar <rentar18 at gmail.com> wrote:
>> Hi R'ers:
>> After browsing for a good package for quality table construction, I found nothing.
>> Any advice?
>> Thanks
>> Bruce
>>
>> -------
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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 -- To UNSUBSCRIBE and more, see
> 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