print.spicy | R Documentation |
print.spicy()
prints a data frame with properly aligned columns, following a structured three-line table format.
The first column is left-aligned, while all other columns are right-aligned. Column widths are dynamically adjusted
based on the longest value in each column, including column names.
## S3 method for class 'spicy'
print(x, ...)
x |
A data frame, matrix, array (2D), or table. |
... |
Additional arguments (not used). |
Invisibly returns x
after displaying its formatted content.
x <- mtcars
class(x) <- c("spicy", class(x))
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.