You may also enjoy
An Example to Accelerate R
with Rcpp
and OpenMP
: a Simulation Study of Survey with Systematic Non-responses
4 minute read
Result: Using Rcpp with OpenMP can accelerate the simulation about 70 times in R.
Accelerate R
with Rcpp
: Sampling with Replacement and the Hansen-Hurwitz Estimator
3 minute read
Result: On average, using Rcpp can be about 4.5 times faster than just using R.
The R6 Class in R
3 minute read
What is a class system? R is an object-oriented programming language with four object-oriented class systems.1 In other words, there are four ways to write ...
Simulation Study – Coverage Probability of 95% Confidence Intervals of the Horvitz-Thompson Estimator
3 minute read
This short simulation study examines the coverage probability of 95% confidence intervals of the Horvitz-Thompson estimator of the population mean under s...