time_wrap | R Documentation |
Evaluate two expressions in the environment in which
time_wrap
is called, and record the system
time associated with each expression.
time_wrap(expr1, expr2, units = "secs")
expr1 |
first expression |
expr2 |
second expression |
units |
time units with which to measure the system time
of each expression (see |
list with three components: (1) time to evaluate the first expression, (2) time to evaluate the second expression, and (3) the time for the first expression divided by the time for the second
Other compare:
compare_grads()
,
compare_sims()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.