head5: Print first 5 rows and first 5 columns

Description Usage Arguments Examples

Description

A slightly modified head function for large datasets with many columns. Works with dataframes and data tables

Usage

1
head5(df, nc = 5, nr = 5)

Arguments

df

A data frame or data table

nc

Number of columns to print, default 5

nr

Number of rows to print, default 5

Examples

1
2
abc <- data.table(matrix(1:2000, 20, 100))
head5(abc)

kippjohnson/kippr documentation built on May 12, 2019, 2:02 p.m.