strh | R Documentation |
A modified version of the str() function that limits the length of displayed lists.
strh(object, max.level = 1, list.len = nth_prime(5 - max.level), ...)
object |
the object to be printed. |
max.level |
the maximum number of nested levels to be printed. Default is 1. |
list.len |
the maximum number of elements to be printed for a list. Default is determined by the value of max.level and the nth prime number. |
... |
additional arguments to be passed to str(). |
A printed representation of the object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.