Learn R Programming

baizer (version 0.8.0)

tdf: transpose a dataframe

Description

transpose a dataframe

Usage

tdf(x, colnames = NULL)

Value

dataframe

Arguments

x

dataframe

colnames

column names of the transposed dataframe

Examples

Run this code

x <- c2r(mini_diamond, "id")
tdf(x)

Run the code above in your browser using DataLab