tilt_head: Transposes Dataframe Head

Description Usage Arguments Value Examples

View source: R/tilt_head.R

Description

Takes a dataframe 'df' and a number 'n' of rows and returns the transpose of the 'head( , n)' of the dataframe.

Usage

1

Arguments

df

dataframe of which 'head()' will be transposed.

n

number of rows to include in 'head()'.

Value

dataframe

Examples

1
tilt_head(data.frame(matrix(1:30, 10, 3)), 3)

MauroCE/compass documentation built on Oct. 30, 2019, 9:22 p.m.