View source: R/30-api-flexseq-print.R
| print.flexseq | R Documentation |
Print a flexseq
## S3 method for class 'flexseq'
print(x, max_elements = 4L, show_custom_monoids = FALSE, ...)
x |
A |
max_elements |
Maximum number of elements shown in preview ( |
show_custom_monoids |
Logical; show attached non-default monoids and their root cached measures. |
... |
Passed through to per-element |
The input x, returned invisibly. Called for its side effect
of printing a formatted preview of the sequence to the console.
x <- as_flexseq(setNames(as.list(1:6), letters[1:6]))
print(x, max_elements = 4)
y <- as_flexseq(as.list(1:6))
print(y, max_elements = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.