Skip to contents

Takes a row of data and uses it to replace the column names.

Usage

row_to_colnames(df, row = 1)

Arguments

df

A data frame.

row

Row number to convert to the column names, default is the first row.