/BGLR-R

Primary LanguageRGNU General Public License v3.0GPL-3.0

BGLR: An R Package for (Bayesian) High-Dimensional Regression

The BGLR Package (Perez-Rodriguez & de los Campos, 2014) implements a variety of shrinkage and variable selection regression procedures. In this repository we maintain the latest version beta version. The latest stable release can be downloaded from CRAN.

###Installing BGLR from GitHub

   install.packages(pkg='devtools',repos='https://cran.r-project.org/')  #1# install devtools
   library(devtools)                                                     #2# load the library
   install_git('https://github.com/gdlc/BGLR/')                          #3# install BGLR from GitHub

Note: when trying to install from github on a mac you may get the following error message

ld: library not found for -lgfortran

This can be fixed it by following the following advise.

###Examples

Comprehensive list of examples: BGLR-Genetics.

New methods (v 1.05)