head_tail: Summary function - display head and tail in a single...

View source: R/utils.R

head_tailR Documentation

Summary function - display head and tail in a single data.frame The original code for this function was first written for 'psych' R package here we have modified it a bit

Description

Summary function - display head and tail in a single data.frame The original code for this function was first written for 'psych' R package here we have modified it a bit

Usage

head_tail(x, hlength = 4, tlength = 4, digits = 4, ellipsis = TRUE)

Arguments

x

A matrix or data frame or free text

hlength

The number of lines at the beginning to show

tlength

The number of lines at the end to show

digits

Round off the data to digits

ellipsis

separate the head and tail with dots


MortalityLaws documentation built on July 1, 2022, 5:06 p.m.