Description Usage Arguments Examples
By default, whenever you print a line profile, it is collapsed to two levels
deep. You can override this using the depth
parameter.
reduce_depth
is the function that implements this behaviour - you
may want to use it if you're processing the line profiling data in other
ways.
1 2 3 4 | ## S3 method for class 'lineprof'
print(x, digits = 3, depth = 2, ...)
reduce_depth(x, depth = 2)
|
x |
a line profiling object |
digits |
number of digits to use for performance summaries |
depth |
depth of calls |
... |
other arguments passed on to |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.