This package was developed for a group project (Bristol Compass CDT), to perform Bayesian ridge regression using Rcpp and parallel programming. The package is demonstrated on an electricity demand dataset.
Package created using:
RcppArmadillo.package.skeleton("RcppRidge")
usethis::use_test("RcppRidge")
To build the package:
Rcpp::compileAttributes()
system("R CMD build")
system("R CMD INSTALL ../RcppRidge")
To update the documentation:
roxygen2::roxygenize(roclets="rd")
system("R CMD Rd2pdf --pdf --title='RcppRidge Package Documentation' -o RcppRidge_Documentation.pdf man/*.Rd")
On Linux you may need to install the following packages for the above to work
sudo apt-get install texinfo texlive-fonts-extra
Run the tests
devtools::test()
To load the package:
devtools::install_github("g-l-mansell/RcppRidge")
library(RcppRidge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.