column_names_to_row: Take a data.frame/matrix and insert its column names as the...

View source: R/headings.R

column_names_to_rowR Documentation

Take a data.frame/matrix and insert its column names as the first row of the resulting matrix.

Description

Take a data.frame/matrix and insert its column names as the first row of the resulting matrix.

Usage

column_names_to_row(df)

Arguments

df

The data.frame/matrix.

Value

A matrix of the initial data.frame/matrix with its column names as the first row.


calvinmfloyd/grobblR documentation built on Aug. 30, 2024, 8:22 p.m.