Use R package system.time
to compare the performance of C functions (fibC
and fibR
).
1 2 3 4 5 | ## Not run:
system.time(fibR(35))
system.time(fibC(35))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.