This function adds the column variable name to the top of a tabyl
for a complete display of information. This makes the tabyl prettier, but renders the data.frame less useful for further manipulation.
adorn_col_title(dat, placement = "top")
dat | a data.frame of class |
---|---|
placement | whether the column name should be added to the top of the tabyl in an otherwise-empty row |
the input tabyl, augmented with the column title.
#> Error in adorn_col_title(., placement = "top"): object 'ns' not found