# Programming

## R packages

The package contains functions to calculate some point estimators and estimating their sampling variance under unequal-probability sampling. Uni-stage and two-stage sampling designs are considered. Some approximations for the joint-inclusion probabilities (sample and population based) are available... More details here.

## Interfacing C in R

You might find high-time-consuming some codes with loads of loops and that are entirely written in R. A solution is to write codes in C and interface them in R. Loops that take "ages" are reduced to seconds. These are some easy-to-follow steps; collected from several sources (PhD studies, manuals and on-line references).

## Graphic Programming

Of course programming codes are not just for computing numbers. Why not to try programming some graphical routines? Here it is a beginner example of graphic programming, which I used to decorate this homepage. For example, this image was made with Processing with a powerful computer.