Publications by Rcpp Gallery

Simulation Smoother using RcppArmadillo

04.09.2021

Simulation smoothing involves drawing latent state variables in discrete-time state–space models from their conditional distribution given parameters and data as defined by McCausland, Miller, & Pelletier (2011). This tool greatly facilitates Bayesian estimation in the case of a popular family of conditionally linear Gaussian state-space models...

11676 sym R (6123 sym/9 pcs) 2 img

Benchmarking Rcpp code with RcppClock

05.11.2021

Rcpp is all about the need for speed. However, Rcpp code is not magically fast, but is the result of careful coding and profiling. RcppClock makes it easy to profile C++ code from R: On the C++ side, RcppClock wraps std::chrono::high_resolution_clock (C++11) to time chunks of code, and exports the results to an R object in the global environment...

3074 sym R (2982 sym/12 pcs) 6 img