简体   繁体   English

Sweave xtable显示rownames的列标题

[英]Sweave xtable show column header for rownames

I am using an xtable with the option "include.rownames =TRUE". 我正在使用带有“include.rownames = TRUE”选项的xtable。 How do I add a column header for the row names? 如何为行名称添加列标题?

I don't think this is possible. 我不认为这是可能的。 Just move the rownames to their own column, name the column, and use include.rownames = FALSE . 只需将rownames移动到它们自己的列,命名列,然后使用include.rownames = FALSE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM