kobekko94 / Yusuke-Flexdashboard-Practice

0 stars 0 forks source link

Adding title to tables #7

Open kobekko94 opened 6 years ago

kobekko94 commented 6 years ago

Trying to add a title to the table "red_day1"

names(dimnames(red_day1)) <- c("Students","Question Number")
  red_day1

I get the following error:

Setting row names on a tibble is deprecated.
davclark commented 6 years ago

Do you want the title on the printed version? "Titles" from the programmer point of view are the variable names.

But I think you are talking about row titles. As the error message says, this is "deprecated" - you shouldn't do it. Maybe you are trying to set column names? I really can't tell without more context. If you have something that you really want as a row label, just make another column.