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

Jim Lemon drjimlemon at gmail.com
Sun Mar 26 23:28:30 CEST 2017


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.



More information about the R-help mailing list