Hello.
So, as mentioned in the title I have a dataframe from which I can see the rowname column, which was added by default, on the left side of the data.frame.
Problem is, when I try to knitr it with knitr::kable, that rowname columns is gone.
How can I avoid that? I need that rowname column to be visible.
These are my chunks:
Contingenza1<-table(DATI$ETA,DATI$INFO_POL_NAZ)
ContingenzaE<-table(DATI$`Classi ETA`,DATI$INFO_POL_NAZ)
Contingenza2<-as.data.frame.matrix(t(ContingenzaE))
Contingenza2
#Table:
knitr::kable(Contingenza2)%>%
kable_styling(position="center")
May I upload an image to show you what I mean? Don't know if it's allowed, so I'll remove it if I can't.