print_df_head_tail | R Documentation |
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.
print_df_head_tail(df, digit = 3)
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. |
Invisibly returns the original data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.