Description Usage Arguments Details Value Examples
Printing timings in their "native" unit. For example, "10000" seconds becomes "2.778 hours".
1 |
expr |
A valid R expression to be timed. |
gcFirst |
logical; determines if garbage collection should be called before getting process memory usage. |
The wall-clock timer, wc.time()
, is a simple wrapper around R's
system.time()
using these readable units.
This uses S3 methods for simplicity, though this makes some higher abstractions impossible. Future versions will likely use S4.
Returns a timing
object, which dispalys readable times.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.