R/utils-text.R
collapseRows.Rd
for each group, sets the top row of the group to the group's value. All other rows in the group are set to "". See the example
collapseRows(df, variable)
a data frame
group variable to be collapsed
a data frame with an updated variable column
variable