column_names_to_row {grobblR}R 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.


[Package grobblR version 0.2.1 Index]