Description Usage Arguments Details Value See Also Examples

This function enables comparing CPU times of several expressions. The times
are calculated via `system.time`

, additionally time ratios are
calculated.

1 |

`...` |
a collection of expressions in the form of tag=value |

The function uses `system.time`

to estimate CPU times needed to
evaluate each of the expressions. The output provides raw timings as well as
ratios of time elapsed.

The included `show`

method prints the results nicely and
additionally calculates the ratios of times elapsed.

An object of S4 class `speedcomp`

with two slots

`e`

list of expressions processed

`timings`

matrix containing the CPU times of the expressions in

`e`

estimated with`system.time`

. Rows correspond to expressions and columns to the fields returned by`system.time`

, i.e. "user cpu", "system cpu", "elapsed", "subproc1" and "subproc2"

1 2 3 4 5 6 |

mbojan/mbtools documentation built on Nov. 9, 2017, 3:21 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.