head_tail: Show head and tail simultaneously

Description Usage Arguments Details Value Examples

View source: R/head_tail.R

Description

Show head and tail simultaneously

Usage

1
head_tail(data, n_slice = 6)

Arguments

data

The data frame to slice

n_slice

How many rows of the head and tail you want. Default is 6.

Details

This will work on matrices and also not be limited to default tibble display.

Value

A data frame of the first and last n_slice rows

Examples

1
2
3

m-clark/tidyext documentation built on July 21, 2020, 2:36 a.m.