formatting | R Documentation |
Printing tibblify specifications
## S3 method for class 'tspec' print(x, width = NULL, ..., names = NULL) ## S3 method for class 'tspec_df' format(x, width = NULL, ..., names = NULL)
x |
Spec to format or print |
width |
Width of text output to generate. |
... |
These dots are for future extensions and must be empty. |
names |
Should names be printed even if they can be deduced from the spec? |
x
is returned invisibly.
spec <- tspec_df( a = tib_int("a"), new_name = tib_chr("b"), row = tib_row( "row", x = tib_int("x") ) ) print(spec, names = FALSE) print(spec, names = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.