John:
Here is the code of my xtable:
TABLE <-xtable(dec_analy, digits = c(0,0,0,0,2,2,0),
align = "ccccccc", latex.environments = "center",
caption = "Analysis ")
print.xtable(TABLE, type="html",file="C:/R_Data/Table.html",
include.rownames = FALSE,
caption.placement = "top",
align = "p{.5in}p{.5in}p{.5in}p{.5in}p{.5in}p{.5in}")
BR_email wrote:
John:
After I generate the xtable table, I manually edited (by inserting
<br/>) the html header, below.
Is there a way in xtable that I can set some setting to affect my
xtable table?
Thanks for your reply.
Bruce
<table border=1>
<caption align="top"> Analysis </caption>
<tr> <th> DECILE </th>
<th> NUMBER OF <br /> INDIVIDUALS <br /> </th>
<th> NUMBER OF <br /> RESPONDERS <br /> </th>
<th> RESPONSE <br /> RATE (%) <br /> </th>
<th> CUM RESPONSE <br /> RATE (%) <br />
</th> <th> CUM LIFT </th> </tr>
John Kane wrote:
Can you give us an example. I am having a problem visualizing this.
It seems obvious just to put in a line break normally but in xtabs
who knows?
On Monday, May 15, 2017 1:15 PM, Bruce Ratner PhD <b...@dmstat1.com>
wrote:
R-help:
I'm using xtable that produces a table in html with one-line for each
of the
long column headings/names.
I would like to word wrap the column headings to break into two-lines.
Any suggestion as to which argument needs adjustment is appreciated.
Bruce
______________________________________________
R-help@r-project.org <mailto:R-help@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
<http://www.r-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@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.