print_df_head_tail: Print Data Frame with Head and Tail Rows

View source: R/prints.R

print_df_head_tailR Documentation

Description

This function displays the first 5 and last 5 rows of a data frame. Column names are displayed only for the first 5 rows, with ellipses (...) in the middle to indicate additional rows.

Usage

print_df_head_tail(df, digit = 3)

Arguments

df

A data frame to display.

digit

An integer specifying the number of decimal places to which the summary statistics should be rounded. Default is 3.

Value

Invisibly returns the original data frame.


catalytic documentation built on April 4, 2025, 5:51 a.m.