user1357015
user1357015

Reputation: 11686

Sweave xtable show column header for rownames

I am using an xtable with the option "include.rownames =TRUE". How do I add a column header for the row names?

Upvotes: 3

Views: 309

Answers (1)

Thomas
Thomas

Reputation: 44525

I don't think this is possible. Just move the rownames to their own column, name the column, and use include.rownames = FALSE.

Upvotes: 1

Related Questions