t_df: Transpose a dataframe

Description Usage Arguments Value

View source: R/data_frames.R

Description

Transpose a dataframe without accidentally converting everything to character. Assumes first column of input is a vector of feature names. If any of the data is non-numeric you're SOL and tranposed cols will be character as well.

Usage

1

Arguments

df

An unfortunately transposed data frame

Value

Transposed dataframe with appropriate column types


alexpghayes/hayeslib documentation built on May 5, 2019, 4:47 p.m.