benchmarks: Benchmark R and Rcpp functions.

Description Examples

Description

Use R package system.time to compare the performance of C functions (fibC and fibR).

Examples

1
2
3
4
5
## Not run: 
system.time(fibR(35))
system.time(fibC(35))

## End(Not run)

JieHu18039/StatComp documentation built on May 18, 2019, 12:25 p.m.