R Packages

I am author, co-author or contributor of the following R packages:

 


Fast computation of best linear predictors when the dataset is large

 I am co-author of a recent algorithm for computing approximated best linear predictors in the case where the number, n, of observations is large.

This is a joint work with Nicolas Durrande, Didier Rullière and François Bachoc. The implemented algorithms can be used when n is in the interval [10^5 , 10^6 ], or lower. The code is meant to be run easily in R. It requires the Rcpp and RcppArmadillo package.

The associated article is available here.

The following files can be downloaded and run in R:

  • readme.txt : Help file to read before running the R and Rcpp code.
  • CodeCpp_fastpredict_functions.cpp : C++ implementation of our fast best linear predictor -- useful when the number of observations n is large, i.e. larger than 10^5
  • CodeR_gradientoptim_functions.R : A tailored algorithm to estimate the parameters of the covariance function.
  • ToyExamples_LargeDataset.R : Read the instructions and run the code in this file to use the implemed algorithms. This code performs many calls to the functions implemented in 'CodeCpp_fastpredict_functions.cpp' and 'CodeR_gradientoptim_functions.R'.