Question about tibble

Hi,
I have a question about tibble. Is it possible to add to tibble/dataframe that row which describes class of variable ?
Usually this row is a bit grayed out and as a second row is situaded under the tibble's header. I want to include it sometimes in tibble or df.
How to add this row to tibble in order to be visible in RStudio viewer not only in console ?

So you mean variable labels like you have in Stata or SPSS? You might want to look at collapse with its vlabels() <- function or the labelled package. Both can help you to assign labels to your variables. :slight_smile:

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.